Skip to main content
POST
/
v1
/
admin
/
charters
/
bookings
/
{bookingId}
/
myba
Generate MYBA contract
curl --request POST \
  --url https://{operatorDomain}/v1/admin/charters/bookings/{bookingId}/myba \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateIdOverride": "<string>",
  "language": "<string>",
  "title": "<string>",
  "extraVariables": {}
}
'
{}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

bookingId
string
required

Body

application/json
templateIdOverride
string | null
language
string | null
title
string | null
extraVariables
object

Response

200 - application/json

MYBA document

The response is of type object.