Creates an appointment for the specified self-scheduling attempt. Patient must be set on the attempt before creating an appointment. Scheduler config must belong to the self-scheduling setting.
Security
PartnerApiKey and PartnerOAuth
Scheduler config ID (must belong to the self-scheduling setting)
Example:101
- Mock serverhttps://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/appointment
- Productionhttps://api-prod.lobbie.com/lobbie/api/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/appointment
curl -i -X POST \
'https://api-docs.lobbie.com/_mock/openapi/partner/v2/account/{accountId}/self-scheduling/attempt/{attemptId}/appointment' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"appointmentTypeId": 10,
"locationId": 1,
"practitionerId": 7,
"schedulerConfigId": 101,
"startDateTime": "2025-01-15T10:00:00-08:00"
}'Appointment created successfully
Appointment end time in ISO 8601 format with timezone
Example:"2025-01-15T10:30:00-08:00"
Appointment start time in ISO 8601 format with timezone
Example:"2025-01-15T10:00:00-08:00"
Appointment status (one of: SCHEDULED, CANCELLED, NO_SHOW, CHECKED_IN, IN_TREATMENT, CHECKED_OUT, CONFIRMED, RESCHEDULED, VOIDED)
Example:"SCHEDULED"
Response
{ "appointmentTypeId": 10, "endDateTime": "2025-01-15T10:30:00-08:00", "formCount": 3, "id": 999, "locationId": 1, "practitionerId": 7, "startDateTime": "2025-01-15T10:00:00-08:00", "status": "SCHEDULED", "telehealth": false }