Publish to a channel
Publish to a channel. Realtime. Channel access follows the channel’s rules.
POST
Authorizations
Your publishable (pb_pk_…) or secret (pb_sk_…) key.
The signed-in person's access token.
Body
application/json
The channel to publish to, such as orders:42.
Required string length:
1 - 200The event name subscribers listen for, such as order.updated.
Required string length:
1 - 100Any JSON value delivered to subscribers.
An idempotency key for durable channels: resending the same id returns the stored message instead of delivering it twice.
Maximum string length:
128