account: theclubroomnz
When making a booking I use the API to get the intake questions for the service, then when making the booking call I use the ids to answer the questions. E.g
Intake response:
{
"data": \[
{
"id": 1,
"name": "bd0c6585c9880a82e582f185df0f80dc",
"field_name": "What are you looking at getting fitted for?",
"field_type": "textarea",
"field_options": \[
""
\],
"default_value": null,
"optional": true,
"is_visible": true,
"show_for_all_services": false
}
\],
"metadata": {
"items_count": 1,
"pages_count": 1,
"page": 1,
"on_page": 10
}
}
Booking Request:
{
"count": 1,
"start_datetime": "2026-05-22 18:00:00",
"location_id": "2",
"provider_id": "34",
"service_id": "25",
"client_id": 2758,
"additional_fields": {
"bd0c6585c9880a82e582f185df0f80dc": "clubs"
}
}
I then get a 500 response from the server