Event reference
The generated Socket.IO event and acknowledgement contract.
The AsyncAPI document defines incoming commands, outgoing events, and acknowledgement shapes. Its messages describe Socket.IO argument tuples; use a Socket.IO client to encode the transport packets.
Download the AsyncAPI contract
Download the generated event contract.
The schema is generated from runtime definitions and checked for drift. Behavioral tests separately check sequencing, replay, limits, and cleanup. See Start a session and Cursors and replay for those obligations.
WSS
/Messages
[
{
"eventId": "<string>",
"body": "<string>",
"errorReason": "<string>",
"headers": {},
"status": 0
}
]Security Schemes
projectApiKey
httpEnter your complete project API key (pho_sk_...) without the Bearer prefix. It is sent as Authorization: Bearer <project API key>. The key must belong to the projectId in the connection URL.
Bindings
headers
objectShow child attributes
method
stringconst:
"GET"query
objectexternalDocs:
{"description":"Engine.IO Protocol","url":"https://socket.io/docs/v4/engine-io-protocol/"}