<- Bookings webhooks

Bookings webhooks

booking created

EVENT

 booking.created

Published when a booking is created.

To receive this event with buyer-level permissions, you must have APPOINTMENTS_READ set for the OAuth scope.
To receive this event with seller-level permissions, you must have APPOINTMENTS_ALL_READ and APPOINTMENTS_READ set for the OAuth scope.

Permissions:APPOINTMENTS_READ
Link to section

Event payload

Example code

Link to section

merchant_id

string

The ID of the target seller associated with the event.

Link to section

type

string

The type of this event. The value is "booking.created".

Link to section

event_id

string

A unique ID for the event.

Link to section

created_at

string

Read only The timestamp of when the event was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

data

The data associated with the event.