Skip to main content
POST
/
events
/
create
curl --request POST \
  --url https://api.bookingshake.io/api/events/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bookings": [
    {
      "date": "15-03-2025",
      "startTime": "14:00",
      "endTime": "18:00",
      "pax": "50",
      "event_type": "Corporate Event",
      "comments": "Setup needed at 13:00"
    }
  ],
  "contact": {
    "first_name": "John",
    "last_name": "Doe",
    "email": "[email protected]",
    "phone": "+33123456789"
  },
  "source_slug": "website"
}
'
{
"message": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication using your BookingShake API key. Retrieve your API key from Settings > Integrations in your BookingShake dashboard.

Body

application/json
bookings
object[]
required

Array of one or more bookings to create. Multiple bookings will be grouped together.

Minimum array length: 1
contact
object
required

Contact information. Either provide contact_id to use an existing contact, or provide first_name, last_name, and email to create a new contact.

company
object

Company/organization information (optional). Note: A company will only be created if the 'name' field is provided. If the company object is omitted or provided without a name, no company will be created.

source_slug
string

Booking source slug identifier. Found in Settings > Sources. If not provided, uses the default source (marked in settings), or 'Site web', or the first available source.

Example:

"website"

source_id
string

Booking source ID. Alternative to source_slug. If neither source_slug nor source_id is provided, uses the default source (marked in settings), or 'Site web', or the first available source.

Example:

"src_abc123"

Response

Events created successfully

message
string
Example:

"success"