Skip to content
Get API key (opens in a new tab)

Event types

The envelope every Cevoid webhook shares, the catalog of events by product, and how payloads change over time.

Every webhook request carries one event. type names it, and data holds the resources it concerns, such as the review and the customer's profile.

Envelope

Every event body has the same top-level fields: type, id, created_at, version, origin and data. Each event page shows an example and describes every field.

  • Switch on type to decide how to handle the event.
  • id is also sent as the webhook-id header. Store the IDs you have processed and skip repeats.
  • Cevoid sends the body with its object keys sorted. Parse it as JSON; do not depend on the key order.

Event catalog

Each event has its own page with an example and every field. A destination can subscribe to any of them, except those marked Flow only: review replies and the review and upload requests come only from a Flow. See Send from a Flow.

UGC

Loyalty

Reviews

The test event, cevoid.test, is described in Test a webhook.

Resources in data

  • Check for each resource. data leaves out resources your plan does not include, and points and tier appear only on loyalty and order events, and only when the profile is a loyalty member. A resource Cevoid cannot read is left out rather than sent half filled.
  • Read at the first attempt. data reflects the records when Cevoid made the first attempt; retries resend that body unchanged.

Versioning

  • version is 1 for every event today. Read it with type before you process an event.
  • The API resources in data follow the API's compatibility rules: within v2 they gain optional fields over time, without a change to version. See API versioning.
  • New event types can appear. Ignore a type your receiver does not handle and still return a 2xx status, so the delivery does not retry.
  • Ignore fields you do not recognize instead of rejecting the body.