Users

Users Get Presence

GET
/users.getPresence

Gets user presence information.

Authorization

slackAuth users:read
AuthorizationBearer <token>

In: header

Scope: users:read

Query Parameters

token*string

Authentication token. Requires scope: users:read

user?string

User to get presence info on. Defaults to the authed user.

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Response Body

application/json

application/json

curl -X GET "https://example.com/users.getPresence?token=string" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "auto_away": true,  "connection_count": 0,  "last_activity": 0,  "manual_away": true,  "ok": "True",  "online": true,  "presence": "string"}