Endpoint
GET /booking/public/config
Authentication
None required (public endpoint).Query parameters
string
required
The agent ID.
Response
boolean
object
Show child attributes
Show child attributes
string
Title displayed in the booking interface
string
Description or instructions
string
IANA timezone (e.g., “America/New_York”)
array
Available duration options, each with
id, label, and duration_minutes.number
Minimum hours before a slot can be booked
number
Maximum days ahead users can book
array
Booking form fields, each with
id, type, label, required, inputType, placeholder.boolean
Whether users can cancel bookings
number
Minimum hours before appointment for cancellation
Example
curl "https://api.mind-e.co/booking/public/config?agentId=agent-id-here"
Response
{
"success": true,
"config": {
"booking_title": "Schedule a Consultation",
"timezone": "America/New_York",
"duration_options": [
{ "id": "opt-1", "label": "30-minute call", "duration_minutes": 30 },
{ "id": "opt-2", "label": "60-minute deep dive", "duration_minutes": 60 }
],
"min_notice_hours": 24,
"max_advance_days": 30,
"form_fields": [
{ "id": "name", "type": "input_field", "label": "Name", "required": true, "inputType": "text" },
{ "id": "email", "type": "input_field", "label": "Email", "required": true, "inputType": "email" }
],
"allow_user_cancellation": true,
"cancellation_notice_hours": 12
}
}