Skip to main content
POST
/
v1
/
admin
/
bookings
/
{bookingId}
/
generate-contract
Generate a contract for a booking
curl --request POST \
  --url https://{operatorDomain}/v1/admin/bookings/{bookingId}/generate-contract \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

bookingId
string
required

Query Parameters

preview
boolean

Response

200 - application/json

Generated or previewed contract

The response is of type object.