provider users.profileusers POST /users.profile.set
@utdk/slack /users.profile.set
users_profile_set
Set the profile information for a user.
token header required
Authentication token. Requires scope: `users.profile:write`
string

Try it

Authentication
Configure credentials for Slack Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

usersProfileSet
POST/users.profile.set
Set the profile information for a user.

Input

Name of a single key to set. Usable only if `profile` is not passed.

Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters.

ID of user to change. This argument may only be specified by team admins on paid teams.

Value to set a single key to. Usable only if `profile` is not passed.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.usersProfileSet()