channels.sync when a full channel catalog needs to be synchronized — typically during onboarding or after a bulk configuration change. The event is delivered in batches of up to 50 channels. Use batchIndex and batchTotal to track progress.
Payload
Fields
data
Batching
Each batch contains up to 50 channels. WhenbatchTotal > 1, multiple events are emitted sequentially. Process and retry each batch independently — a failed batch does not block others.
Usage
1
Verify the signature
Validate
X-Fire-Signature. See Authentication.2
Acknowledge immediately
Return
200 OK before processing.3
Replace your channel catalog for this batch
Upsert all channels in the batch using
channelId as the key.4
After the last batch
When
batchIndex === batchTotal, any channelId in your local store that was not present in any batch can be considered removed.
