Resend a booking email
POST/v2/bookings/resend-email
Requires your API key in the X-API-Key header.
Re-sends one of the booking's transactional emails, optionally CC-ing extra
recipients. The email type must currently be sendable for the booking's state
(see GET /v2/bookings/{id}/available-emails) — otherwise a 400 with the same
reason string is returned. The booking must be within the caller's scope (404
otherwise).
curl -X POST "https://api.turneo.co/v2/bookings/resend-email" \
-H "X-API-Key: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"bookingId": "0b7f5f7e-1234-4c56-89ab-4d5e6f7a8b9c",
"emailType": "guest_confirmation",
"additionalEmails": [
"copy@example.com"
]
}'Request bodyapplication/json, required
bookingIdstring (uuid)requiredUUID of the booking (must be within the caller's scope).
- Example:
0b7f5f7e-1234-4c56-89ab-4d5e6f7a8b9c
emailTypestringrequiredThe email to send; must currently be available for the booking's state.
- Allowed values:
guest_confirmationguest_reviewguest_alternativesorganizer_confirmationorganizer_accepted- Example:
guest_confirmation
additionalEmailsstring (email)[]Extra recipient addresses to include. Defaults to none.
Example: guestConfirmation
{
"bookingId": "0b7f5f7e-1234-4c56-89ab-4d5e6f7a8b9c",
"emailType": "guest_confirmation",
"additionalEmails": [
"copy@example.com"
]
}Responses
200object
Email dispatched.
statusstringHuman-readable confirmation.
- Example:
Email sent successfully
{
"status": "Email sent successfully"
}Errors
- 400
Validation failed. Inspect
errors[].fieldanderrors[].code.- 401
Missing or invalid
X-API-Keyheader.- 403
The API key is valid but not allowed to perform this action on this resource.
- 404
The resource does not exist or belongs to another partner (existence is not leaked across partners).
Error body
typestringError class.
- Allowed values:
validation_errorclient_errorserver_error- Example:
validation_error
errorsobject[]Child fields
codestringMachine-readable error code.
- Example:
required
fieldstringnullableOffending field, or null/'general' for non-field errors.
- Example:
startTime
messagestringHuman-readable message.
- Example:
This field is required.
{
"type": "validation_error",
"errors": [
{
"code": "required",
"field": "startTime",
"message": "This field is required."
}
]
}