Brand Webhooks
Overview
Brand webhooks allow you to receive real-time notifications when specific events occur for your brand. Currently supported topics include ‘Deals’, ‘Showings’, and ‘Contacts’.
Resource Group ¶
Create Brand Webhook ¶
Create Brand WebhookPOST/brands/:id/webhooks
Creates a new webhook for a brand that will receive notifications for the specified topic.
Example URI
POST /brands/:id/webhooks
URI Parameters
- id
string(required) Example: d0334b44-83ed-4771-a5e1-18f2edffdc70
Request
Body
{
"topic": "Showings",
"url": "https://localhost:3000"
}Response
200Body
{
"code": "OK",
"data": {
"id": "33081794-2f33-4d01-b5f5-cfd76561b864",
"created_at": 1765163422.588407,
"updated_at": 1765163422.588407,
"deleted_at": null,
"brand": "d0334b44-83ed-4771-a5e1-18f2edffdc70",
"topic": "Showings",
"url": "https://localhost:3000",
"key": "fcd3d65c0f10fe1301a7e39c92615bab524921c434bfaaea5a4a4f8de99a7cb9",
"tags": null,
"type": "brand_webhook"
}
}Delete Brand Webhook ¶
Delete Brand WebhookDELETE/brands/:id/webhooks/:wid
Deletes a specific webhook for a brand.
Example URI
DELETE /brands/:id/webhooks/:wid
URI Parameters
- id
string(required) Example: d0334b44-83ed-4771-a5e1-18f2edffdc70- wid
string(required) Example: 33081794-2f33-4d01-b5f5-cfd76561b864
Response
204Body
All webhook requests include an HMAC-SHA256 signature in the headers for verification. The signature is generated using the webhook's secret key and should be validated to ensure the authenticity of incoming webhook calls.