Skip to main content
POST
/
bookings
/
{booking_sid}
/
reject
Reject a booking
curl --request POST \
  --url https://{your-workspace}.neetocal.com/api/external/v1/bookings/{booking_sid}/reject \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "rejection_reason": "Time slot no longer available"
}
'
{
  "message": "Booking rejected successfully"
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

booking_sid
string
required

SID of the booking that you want to reject.

Example:

"8sqtzrs"

Body

application/json
rejection_reason
string

Optional reason for rejecting the booking.

Example:

"Time slot no longer available"

Response

200 - application/json

OK - Booking rejected successfully

message
string
Example:

"Booking rejected successfully"