Users

Users Identity

GET
/users.identity

Get a user's identity.

Authorization

slackAuth identity.basic
AuthorizationBearer <token>

In: header

Scope: identity.basic

Query Parameters

token?string

Authentication token. Requires scope: identity.basic

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.identity" \  -H "Content-Type: application/x-www-form-urlencoded"
{  "ok": true,  "team": {    "id": "T0G9PQBBK"  },  "user": {    "id": "U0G9QF9C6",    "name": "Sonny Whether"  }}