Skip to main content

Method

Parameters

string
Bearer token for authentication. If not provided, the client-level auth is used.

Response

Returns a User object representing the bot user.
string
Always "user".
string
The ID of the bot user.
string
Always "bot".
object
Details about the bot, including owner information and workspace details.
string | null
The name of the bot.
string | null
The avatar URL of the bot.

Example