Skip to main content
This schema documents the of.websocket.event.received|hasSystemNotifications,new_message payload family.

A structured websocket payload carrying new_message and hasSystemNotifications.

connection
object
required

Connection context for the source upstream websocket payload.

environment
enum<string>
required

OFAuth environment for the source connection.

Available options:
live,
test,
sandbox
receivedAt
string<date-time>
required

When OFAuth received the upstream websocket payload.

messageType
string
required

Transport-level websocket frame classification from the relay.

payloadKey
enum<string>
required

Stable OFAuth shape key for this payload.

Available options:
of.websocket.event.received|hasSystemNotifications,new_message
truncated
boolean
required

Whether OFAuth truncated the upstream payload before forwarding it.

json
object
required
Example:
{
"hasSystemNotifications": true,
"new_message": {}
}
shapeSubtype
enum<string> | null

Curated subtype label for this payload family.

Available options:
websocket.structured.multi-key,
null
rawText
string | null

Raw upstream payload text, present when the frame was text-based.

rawBase64
string | null

Raw upstream payload bytes as base64 when the frame was binary.