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: ddad192c-981e-48cf-9ef4-d4dbd91af1c7
Request
Body
{
"topic": "Showings",
"url": "https://localhost:3000"
}Response
200Body
{
"code": "OK",
"data": {
"id": "5de25970-efc5-42f7-8db9-01ba7e031222",
"created_at": 1769132444.326244,
"updated_at": 1769132444.326244,
"deleted_at": null,
"brand": "ddad192c-981e-48cf-9ef4-d4dbd91af1c7",
"topic": "Showings",
"url": "https://localhost:3000",
"key": "c8ce34ef2a1bff92a7ee08d11061d7a82d94488f3bb903368dd1b1d2be76f720",
"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: ddad192c-981e-48cf-9ef4-d4dbd91af1c7- wid
string(required) Example: 5de25970-efc5-42f7-8db9-01ba7e031222
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.