API Reference
All Bot API interfaces with their routes, request/response types, and versioning status.
Every request requires Authorization: Bot <token> header.
OpenAPI specification
The whole Bot API as a single OpenAPI 3.0 document, generated from the running routes.
Feed it to openapi-generator
and get a typed client in your language instead of writing one.
Always current, straight from the gateway: https://gateway.argon.zone/openapi.json Generate a client: openapi-generator-cli generate -i openapi.json -g python -o ./argon-bot
IArchetypes
v1 stableList and inspect archetypes (roles) in a space. Permissions are hidden unless the bot has ManageArchetype entitlement.
IBotSelf
v1 stableGet information about the authenticated bot and its spaces.
ICalls
v20260401 draftReceive and manage incoming calls. Verified bots only.
IChannels
v1 stableCreate, list, and delete channels within a space.
ICommands
v1 stableRegister, update, list, and delete slash commands for your bot.
IEvents
v1 stableSubscribe to real-time events via Server-Sent Events (SSE). Receive messages, member changes, voice activity, and more.
IExpressions
v1 stableRead a space's sticker and custom emoji packs and add to them. Bots change only the packs and items they made, and never delete or reorder. Writing takes CreateExpressions among the bot's required entitlements.
IFiles
v1 stableUpload files once and use them by fileId: stickers and emoji for IExpressions/AddItem, attachments for IMessages/Send. An upload is kept for 24 hours; at most 100 unused uploads per bot.
IInteractions
v1 stableRespond to slash-command, control, and select interactions. Supports ack, defer, modal, reply, and edit.
IMembers
v1 stableManage space members: kick users from channels.
IMessages
v1 stableSend messages with text and files, and retrieve message history from channels.
IReactions
v1 stableAdd and remove emoji reactions on messages, unicode or custom.
ISpaces
v1 stableGet space details and member information.
ITyping
v1 stableSend typing indicators to channels. Typing status automatically expires after 8 seconds.
IVoice
v1 stableGet voice streaming tokens for audio ingress. Bots stream Opus audio directly to a WebSocket endpoint — no WebRTC needed.
IVoiceEgress
v20260401 draftSubscribe to individual voice tracks for audio egress. Verified bots only.