Why use webhooks
When building Brand API integrations, your application may need to receive real-time updates when important brand changes happen. Webhooks allow your backend system to receive events automatically, so your application can respond without repeatedly checking the API. For example, webhooks are useful when:- A brand logo changes
- Company details are updated
- New brand data is indexed
- A brand profile is re-verified
- Your database needs to stay synchronized with the latest brand information
Event overview
Brand API implements version 1.0.0 of the Standard Webhooks specification. Brand API generates event data to notify your application about brand activity and data changes. When an event occurs, Brand API creates a new event object. A single API request may create multiple events. For example, if Brand API re-indexes a brand, your webhook endpoint may receive events such as:brand.company.updatedbrand.updated
brand.updated event.
Event payload
The event object sent to your webhook endpoint provides a snapshot of the object that changed. When available, the payload may also include adelta property that describes the specific change.
See the full list of event types available for your webhook configuration.
Example event payload
The following example shows a brand update event where a brand verification status changed.Event type
You receive events for the event types your webhook endpoint is configured to listen for. Use the received event type to decide what action your application should perform. Thedata.object value depends on the event type. In most cases, it represents the main namespace object.
For example, for a brand.updated event, the data.object usually represents a Brand object.
Data object and previous attributes delta
Webhook event payloads may include adata.delta property.
The data.delta property shows which fields changed and what the previous and new values are.
For *.updated events, the event payload always includes data.delta, allowing your application to inspect exactly what changed on the object.