Retrieve a user

GET/users/{user_id}

Retrieves a user by public ID, including the user's tags and current revision.

The response includes an ETag representing the current revision. Send this value in the If-Match header when updating the user to avoid overwriting a newer version.

The document and phone fields are returned only when the credentials have the users.read_personal permission; otherwise, they are omitted.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

user_id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/string"
{  "data": {    "access": "granted",    "created_at": "2019-08-24T14:15:22Z",    "deleted": true,    "document": "string",    "email": "[email protected]",    "external_id": "string",    "id": "string",    "name": "string",    "object": "user",    "phone": "string",    "revision": "string",    "status": "active",    "tags": [      "string"    ],    "updated_at": "2019-08-24T14:15:22Z"  }}