Created
February 13, 2025 11:57
-
-
Save ajtrichards/08a5afb848943b0dd5d75c9b75c2778e to your computer and use it in GitHub Desktop.
Set's a users status in Slack.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST "https://slack.com/api/users.profile.set" \ | |
-H "Authorization: Bearer xoxp-USER_TOKEN" \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"user": "USER_ID", | |
"profile": { | |
"status_text": "Off Sick", | |
"status_emoji": ":face_with_thermometer:", | |
"status_expiration": 0 | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment