Is there any slack API for updating profile information?

Hi, I would like to update the profile information of my weak account using the API. I do not find the API in my documentation. Do they have any API for updating profile information?

See screenshot http://screencast.com/t/f7eoAKT0Yy

+6
source share
2 answers

Yes Yes.

But this is an undocumented API method. It was called users.profile.set . So far I have used it to change the first and last name, but other attributes should work.

The basic syntax is:

 users.profile.set?token=XXX&user=U12345678&profile=NEWPROFILE 

NEWPROFILE is a new profile placeholder for the user in JSON format, but you only need to specify the attributes that you want to change, for example. profile={"first_name":"John"} will change the name to John.

Check out my github documentation for more details and other undocumented methods in the Slack API.

+2
source

No, they do not have an API for this. http://screencast.com/t/dmBImpJfkXu

0
source

All Articles