IBotSelf

v1 stable

/api/bot/IBotSelf/v1/

Get information about the authenticated bot and its spaces.

726c17f46ebb46e0… SHA-256 contract hash — guaranteed stable

Authentication required

All endpoints require Authorization: Bot <token> header. Get a token →

GET /api/bot/IBotSelf/v1/GetMe

Returns the bot's own profile: user ID, username, display name, avatar, and email.

Response BotSelfResponse

Field Type
botId string
displayName string
userId string
username string

Example

$ curl -X GET \
     -H "Authorization: Bot YOUR_TOKEN" \
     https://api.argon.gl/api/bot/IBotSelf/v1/GetMe
GET /api/bot/IBotSelf/v1/GetSpaces

Lists all spaces the bot has been added to.

Response BotSpacesResponse

Field Type
spaces BotSpaceBase[]
description string
name string
spaceId string

Example

$ curl -X GET \
     -H "Authorization: Bot YOUR_TOKEN" \
     https://api.argon.gl/api/bot/IBotSelf/v1/GetSpaces