Job events contain
id, type, api_version, created, livemode, is_staging, and data.job. The embedded job has the same shape as a REST job response, including result_schema_version: 2 for new jobs. A synthetic test event contains data.message instead of a job.
Verify the signature
ReadCarhub-Signature, formatted as t=<epoch>,v1=<hex signature>. Compute HMAC-SHA256 over <timestamp>.<raw request body> with the destination’s secret.
Acknowledge and deduplicate
Use the payload’sid as the deduplication key. Retries carry the same event ID. After verification, durably record the event and return any 2xx within 10 seconds. Process slow work after acknowledgment.
CarHub retries failed deliveries. Handle duplicates without repeating downstream actions, and retrieve the job if your application needs its latest status.
Event environments
Event environments
Staging events carry
livemode: true and is_staging: true. Sandbox events carry livemode: false. Synthetic events preserve their destination’s environment.