IEvents

v1 stable

/api/bot/IEvents/v1/

Subscribe to real-time events via Server-Sent Events (SSE). Receive messages, member changes, voice activity, and more.

35629fed73f8ce99… SHA-256 contract hash — guaranteed stable

Authentication required

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

GET /api/bot/IEvents/v1/Stream

Opens a persistent SSE connection. Pass intents as a bitmask to filter events. Supports reconnection via Last-Event-ID header or lastEventId query parameter.

Response BotSseEvent

Field Type
channelId string | null
data any
id string
spaceId string | null
type "ready" | "heartbeat" | "resumed" | "messageCreate" | "messageUpdate" | "messageDelete" | "memberJoin" | "memberLeave" | "memberUpdate" | "channelCreate" | "channelUpdate" | "channelDelete" | "typingStart" | "typingStop" | "presenceUpdate" | "commandInteraction" | "directMessageCreate" | "memberKicked" | "memberBanned" | "archetypeChanged" | "archetypeCreated" | "spaceModified" | "voiceJoin" | "voiceLeave" | "voiceMute" | "voiceUnmute" | "voiceStreamStart" | "voiceStreamStop" | "callIncoming" | "callEnded"

Errors

Status Code Description
403 missing_intents No valid intents specified.

Example

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