Skip to main content

Register and test an HTTPS endpoint

Register the endpoint for the key that owns the events. Store the returned webhook_secret securely when registering the URL, and avoid recording the response in shared logs. Delivery starts with new events after registration. The test call sends one signed webhook.test event. Check delivered and the receiver’s log after your verifier has loaded the secret.

Verify the original body bytes

Use X-InteractiveLayers-Key-Id to select the configured secret. Read X-InteractiveLayers-Timestamp and X-InteractiveLayers-Signature. The signature is hex HMAC-SHA256 over the timestamp, a period and the exact HTTP body bytes. Verify before decoding JSON. Older X-Clipma-* names can accompany the current headers during the transition.
The body is {"events":[...]}. Acknowledge a batch after storing it durably. Deduplicate by event id. A batch that fails three times is skipped. For reconciliation, poll GET /v1/events?since=0&types=break.signal,source.error with events:read. Persist next_since even after an empty page, and reuse it for the next request with the same filters. Treat seq as the cursor position. Common types include opportunity.detected, brand_safety.hold, break.announced, break.signal, break.decided and vod.scan.completed. The special test event has seq: 0 and is useful for checking your receiver. Errors and retries