Embed real-time appointment booking into your websites, mobile apps, WhatsApp automation, and CRMs with automated Google Meet video links and Google Calendar synchronization.
Query /v1/appointments/available-slots with appointmentUserId & date.
Get required form fields via /v1/appointments/form-questions.
Send POST /v1/appointments/book. Instant Google Meet link returned.
Make a POST request to /v1/appointments/book:
curl -X POST "https://gateway-api.aichatbot.websitebyct.in/v1/appointments/book" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"appointmentUserId": "<APPOINTMENT_USER_ID>",
"date": "2026-08-20",
"from": "10:00",
"to": "10:30",
"staticQuestionAnswers": [
{
"question": "Enter Phone",
"questionType": "phone",
"isRequired": true,
"answer": "91XXXXXXXXXX"
},
{
"question": "Enter email",
"questionType": "email",
"isRequired": true,
"answer": "client@example.com"
}
],
"email": "client@example.com",
"phoneNumber": "91XXXXXXXXXX",
"source": "Website"
}'| Method | Path | Description | Try It |
|---|---|---|---|
| GET | /v1/appointments/departments | Fetch active clinic or company departments. | Test |
| GET | /v1/appointments/users | Query available staff / specialists (optionally filtered by department). | Test |
| GET | /v1/appointments/form-questions | Fetch required intake questions for a staff member. | Test |
| GET | /v1/appointments/available-slots | Real-time engine calculates open booking slots for a given date. | Test |
| POST | /v1/appointments/book | Confirm booking, sync to staff Google Calendar, and generate Google Meet link. | Test |
| GET | /v1/appointments/google-calendar/auth-url | Get Google Calendar OAuth connection link for a staff member. | Test |
| GET | /v1/appointments/google-calendar/status | Check if a staff member has active Google Calendar sync enabled. | Test |