All tools / Gateway

Gateway opcode lookup

Look up a Discord gateway opcode (Dispatch, Heartbeat, Identify, Resume, Hello) and whether the client sends or receives it.

op on every payload

Every gateway payload carries op. Hello (10) arrives right after connect and carries heartbeat_interval. Identify (2) starts a session, Resume (6) continues one, and Invalid Session (9) means that handshake failed. Opcode 31 requests soundboard sounds and opcode 43 requests ephemeral channel info. There is no opcode 5.

Related: Gateway heartbeat interval helper · Voice gateway opcode lookup