new Apinator(options: RealtimeOptions)RealtimeOptions:
appId: string(required)key: string(required)secret: string(required)cluster: string(required) — region identifier, e.g."eu","us"
Trigger an event to one or many channels.
TriggerParams:
name: stringdata: string(JSON string)channel?: string(mutually exclusive withchannels)channels?: string[](mutually exclusive withchannel)socketId?: string
Build auth payload for private/presence subscriptions.
Returns:
auth: stringchannel_data?: string
List channels, optionally filtered by prefix.
Get channel details.
Verify webhook signature.
Accepted header shape:
Record<string, string | string[] | undefined>RealtimeErrorAuthenticationErrorValidationErrorApiError(includesstatusandbody)