Preskoči na sadržaj

Webhook notifications

Notifications sent and scheduled per webhook

The webhook notification object

Attributes

iduuid

Unique identifier

webhook_iduuid
webhooks.id

Identifier of the related webhook

created_atread-onlytimestamp with time zone

Creation timestamp

updated_atread-onlytimestamp with time zone

Last modification timestamp

created_ondate

Date on which the webhook notification was created

event_typeWebhookEvent

Event the notification is about

payloadjsonb

JSON payload of the notification

responsetext | null

Response of the endpoint

statusWebhookNotificationStatus

Status of the notification: pending, sent or error

triesinteger

Number of delivery attempts

Related resources

Embed related resources in the response with the select parameter, for example select=*,webhooks(*). Resources related through more than one column need the column as a hint, like table!column(*).

webhooks(*)object | null
webhooks

The webhook referenced by webhook_id.

The webhook notification object
JSON
{
  "id": "00000000-0000-0000-0000-000000000000",
  "webhook_id": "00000000-0000-0000-0000-000000000000",
  "created_at": "2026-10-30T22:26:24.060Z",
  "updated_at": "2026-10-30T22:26:24.060Z",
  "created_on": "2026-10-30",
  "event_type": "bookings.created",
  "payload": {},
  "response": "",
  "status": "pending",
  "tries": 0
}
Including related resources
curl -X GET "https://api.bookingmood.com/v1/webhook_notifications?limit=10&select=*,webhooks(*)" \
  -H "Authorization: Bearer YOUR_API_KEY"

List webhook notifications

Filters

idFilter<uuid>

Unique identifier

webhook_idFilter<uuid>
webhooks.id

Identifier of the related webhook

created_atFilter<timestamp with time zone>

Creation timestamp

updated_atFilter<timestamp with time zone>

Last modification timestamp

created_onFilter<date>

Date on which the webhook notification was created

event_typeFilter<WebhookEvent>

Event the notification is about

payloadFilter<jsonb>

JSON payload of the notification

responseFilter<text | null>

Response of the endpoint

statusFilter<WebhookNotificationStatus>

Status of the notification: pending, sent or error

triesFilter<integer>

Number of delivery attempts

Responses

200

A list of webhook notifications with the selected columns

206

Partial Content

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
GET /webhook_notifications
curl -X GET "https://api.bookingmood.com/v1/webhook_notifications?select=*&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example response
JSON
[
  {
    "id": "00000000-0000-0000-0000-000000000000",
    "webhook_id": "00000000-0000-0000-0000-000000000000",
    "created_at": "2026-10-30T22:26:24.060Z",
    "updated_at": "2026-10-30T22:26:24.060Z",
    "created_on": "2026-10-30",
    "event_type": "bookings.created",
    "payload": {},
    "response": "",
    "status": "pending",
    "tries": 0
  }
]

Preuzmite kontrolu nad svojim rezervacijama. Izgradite posao koji posjedujete.

Pridružite se 1200+ neovisnim tvrtkama za iznajmljivanje smještaja koristeći Bookingmood kako biste povećali broj izravnih rezervacija i izgradili jače odnose s gostima.

Započnite besplatno 14-dnevno probno razdoblje