Documentation Index
Fetch the complete documentation index at: https://mind-e.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
POST /booking/public/create
Authentication
None required (public endpoint).
Request body
The conversation ID where the booking was initiated.
Booking date in YYYY-MM-DD format.
Booking time in HH:MM format.
ID of the selected duration option (from Get Config).
Key-value pairs of form field responses. Keys are the field IDs from the booking config.
Response
Confirmation code (format: BK-XXXXXX)
Example
curl -X POST https://api.mind-e.co/booking/public/create \
-H "Content-Type: application/json" \
-d '{
"agentId": "agent-id-here",
"conversationId": "conv-id-here",
"date": "2026-03-05",
"time": "10:00",
"durationOptionId": "opt-1",
"formData": {
"name": "Jane Smith",
"email": "jane@example.com"
}
}'
Response
{
"success": true,
"booking": {
"id": "booking-123",
"booking_code": "BK-A1B2C3",
"booking_date": "2026-03-05",
"start_time": "10:00:00",
"end_time": "10:30:00",
"duration_minutes": 30,
"duration_label": "30-minute call",
"timezone": "America/New_York",
"status": "confirmed",
"form_data": {
"name": "Jane Smith",
"email": "jane@example.com"
}
}
}