Skip to main content

Method

Parameters

string
required
The ID of the user to retrieve.
string
Bearer token for authentication. If not provided, the client-level auth is used.

Response

Returns a User object.
string
Always "user".
string
The ID of the user.
string
Type of the user. Possible values: "person", "bot", "agent".
string | null
The name of the user.
string | null
The avatar URL of the user.

Example