Is there any slack API to update profile information? -


hi update profile information of slack account using api. don't find api on documentation. have api update profile information?

see screenshot http://screencast.com/t/f7eoakt0yy

yes, do.

but it's undocumented api method. it's called users.profile.set. far used change first- , last name, other attributes should work too.

the basic syntax is:

users.profile.set?token=xxx&user=u12345678&profile=newprofile 

newprofile placeholder new profile user in json format, need specify attributes want change, e.g. profile={"first_name":"john"} change first name john.

check out documentation on github details , other undocumented methods in slack api.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -