Endpoint
GET /booking/public/config
Authentication
None required (public endpoint).Query parameters
The agent ID.
Response
Show child attributes
Show child attributes
Title displayed in the booking interface
Description or instructions
IANA timezone (e.g., “America/New_York”)
Available duration options, each with
id, label, and duration_minutes.Minimum hours before a slot can be booked
Maximum days ahead users can book
Booking form fields, each with
id, type, label, required, inputType, placeholder.Whether users can cancel bookings
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
}
}