Users
Users Set Presence
Manually sets user presence.
Authorization
slackAuth users:writeAuthorizationBearer <token>
In: header
Scope: users:write
Header Parameters
token*string
Authentication token. Requires scope: users:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
presence*string
Either auto or away
Response Body
application/json
application/json
curl -X POST "https://example.com/users.setPresence" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'presence=string'{ "ok": "True"}
