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: baacd481-f397-45c9-9070-e5b48dc2a58d
Request
Body
{
"topic": "Showings",
"url": "https://localhost:3000"
}Response
200Body
{
"code": "OK",
"data": {
"id": "fb94997a-e4f8-4d04-af62-1b24bbb84963",
"created_at": 1770151074.97051,
"updated_at": 1770151074.97051,
"deleted_at": null,
"brand": "baacd481-f397-45c9-9070-e5b48dc2a58d",
"topic": "Showings",
"url": "https://localhost:3000",
"key": "0f6d08096067c3137875bde55e974a5494f003f68c5e25366474fa8e56fa0e1a",
"tags": null,
"type": "brand_webhook"
}
}Get All Brand Webhooks ¶
Get All Brand WebhooksGET/brands/:id/webhooks
Gets a list of all webhooks for a brand. Does not return deleted records. To fetch a list of brand webhooks for a specific topic, use the topic query parameter.
Example URI
GET /brands/:id/webhooks
URI Parameters
- id
string(required) Example: baacd481-f397-45c9-9070-e5b48dc2a58d
Response
200Body
{
"code": "OK",
"data": [
{
"id": "fb94997a-e4f8-4d04-af62-1b24bbb84963",
"created_at": 1770151074.97051,
"updated_at": 1770151074.97051,
"deleted_at": null,
"brand": "baacd481-f397-45c9-9070-e5b48dc2a58d",
"topic": "Showings",
"url": "https://localhost:3000",
"key": "0f6d08096067c3137875bde55e974a5494f003f68c5e25366474fa8e56fa0e1a",
"tags": null,
"type": "brand_webhook"
}
],
"info": {
"count": 1,
"total": 0
}
}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: baacd481-f397-45c9-9070-e5b48dc2a58d- wid
string(required) Example: fb94997a-e4f8-4d04-af62-1b24bbb84963
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.