Skip to main content
GET
/
fields
List available fields
curl --request GET \
  --url https://api.bookingshake.io/api/fields \
  --header 'Authorization: Bearer <token>'
[
  {
    "value": "field_event_type",
    "type": "text",
    "collection": "reservations",
    "code": "event_type",
    "label": "Event Type",
    "isRequiredInBO": false,
    "isCustom": false
  },
  {
    "value": "field_date",
    "type": "date",
    "collection": "reservations",
    "code": "date",
    "label": "Date",
    "isRequiredInBO": true,
    "isCustom": false
  },
  {
    "value": "field_source",
    "type": "select",
    "collection": "reservations",
    "code": "source",
    "label": "Source",
    "isRequiredInBO": false,
    "isCustom": false,
    "data": [
      {
        "label": "Website",
        "value": "src_website"
      },
      {
        "label": "Phone",
        "value": "src_phone"
      }
    ]
  },
  {
    "value": "field_pax",
    "type": "number",
    "collection": "reservations",
    "code": "pax",
    "label": "Number of Guests",
    "isRequiredInBO": true,
    "isCustom": false
  },
  {
    "value": "field_firstname",
    "type": "text",
    "collection": "clients",
    "code": "firstname",
    "label": "First Name",
    "isRequiredInBO": true,
    "isCustom": false
  },
  {
    "value": "field_email",
    "type": "email",
    "collection": "clients",
    "code": "email",
    "label": "Email",
    "isRequiredInBO": true,
    "isCustom": false
  },
  {
    "value": "Abc123XyZ789",
    "type": "input",
    "collection": "clients",
    "code": "custom_a1b2c3d4e5",
    "label": "Preferred Language",
    "isRequiredInBO": false,
    "isCustom": true
  },
  {
    "value": "Def456UvW012",
    "type": "input",
    "collection": "reservations",
    "code": "custom_f6g7h8i9j0",
    "label": "Budget Range",
    "isRequiredInBO": true,
    "isCustom": true
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication using your BookingShake API key. Retrieve your API key from Settings > Integrations in your BookingShake dashboard.

Response

List of fields retrieved successfully

value
string

Unique field identifier

Example:

"Abc123XyZ789"

type
string

Field type (e.g., text, number, date, select)

Example:

"text"

collection
enum<string>

Indicates where the field should be used: 'clients' (contact.custom_fields), 'accounts' (company.custom_fields), or 'reservations' (booking.custom_fields)

Available options:
clients,
accounts,
reservations
Example:

"clients"

code
string

Field code/identifier. For custom fields, follows the format 'custom_XXXXXXXXXXX'

Example:

"custom_a1b2c3d4e5"

label
string

Field display label (translated based on venue's default language)

Example:

"Event Type"

isRequiredInBO
boolean

Whether the field is required in the back office

Example:

false

isCustom
boolean

Indicates if this is a custom field (true) or a default system field (false)

Example:

false

data
object[]

Additional data for select-type fields (list of available options)

Example:
[
{ "label": "Option 1", "value": "opt1" },
{ "label": "Option 2", "value": "opt2" }
]