GET
/bots.infoGet bot information
Retrieves information about a bot user. Omit bot to use the applicable default bot context, or provide a bot user identifier to retrieve a specific bot.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringrequired
Authentication token for the request; the required scope is `users:read`.
botstringoptional
Bot user identifier for the bot whose information to retrieve.
200Returns `ok` set to true and a `bot` object containing the bot's `id`, deletion state, `name`, update timestamp, `app_id`, and `icons`.
botobjectrequired
okbooleanrequired
defaultReturned when no bot can be found or authentication, authorization, or request validation fails; the response contains `ok` set to false and an `error` value.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
token must be a valid authentication token with the users:read scope. When supplied, bot must identify an existing bot user.