Skip to content

IEvents

v1 stable

/IEvents/v1/

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

a2ad75fa17aa1040… SHA-256 contract hash — guaranteed stable

Authentication required

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

GET /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" | "messageEdit" | "memberJoin" | "memberLeave" | "memberUpdate" | "channelCreate" | "channelDelete" | "presenceUpdate" | "voiceJoin" | "voiceLeave" | "callIncoming" | "callEnded" | "commandInteraction" | "botInstallingToSpace" | "botUninstallingFromSpace" | "botEntitlementsUpdated" | "controlInteraction" | "selectInteraction" | "modalSubmit" | "typingStart" | "typingStop" | "archetypeCreate" | "archetypeUpdate" | "reactionAdd" | "reactionRemove"

Errors

Status Code Description
403 missing_intents No valid intents specified.

Example

$ curl -X GET \
     -H "Authorization: Bot YOUR_TOKEN" \
     https://gateway.argon.zone/IEvents/v1/Stream