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

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -