---
title: "Booking created or updated"
method: POST
path: "bookingEvent"
---

# Booking created or updated

`POST bookingEvent` (webhook)

Sent to your custom webhook URL (set in the Snappr portal under API → Custom Webhook) every time a
booking is created or updated. All event families share one URL: dispatch on which resource key is
present (`booking`, `magic_job`) and ignore event types or payload shapes you don't recognise.

## Payload

- BookingWebhookEvent
  - `type` 'creation' | 'update', required
  - `booking` object, required: The booking, with the same fields as `Booking` (except `creator_profile_image_url`) plus `country_code` and `portal_slug`.
    - `uid` string, uuid
    - `status` string
    - `country_code` string, nullable: Region of the booking, e.g. `US`.
    - `portal_slug` string: Your Snappr portal's slug.

## Acknowledgement `200`

Return any 2xx status to acknowledge the event.

---

[API](https://skmtc.dev/snappr/apis/snappr-api.md) - [All operations](https://skmtc.dev/snappr/apis/snappr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snappr/apis/snappr-api/revisions/dd0648363a82?raw)
