Skip to main content
event_type
enum<string>
required
Available options:
labtest.appointment.created,
labtest.appointment.updated
user_id
string<uuid>
required
client_user_id
string<uuid>
required
team_id
string<uuid>
required
data
ClientFacingAppointment · object
required
Example:
{
"address": {
"access_notes": "Gate code #1234, use side entrance",
"city": "San Francisco",
"country": "United States",
"first_line": "123 Main St.",
"second_line": "Apt. 208",
"state": "CA",
"zip_code": "91189"
},
"appointment_notes": "Please bring photo ID",
"can_reschedule": true,
"end_at": "2022-01-01T00:00:00",
"event_data": {
"description": "Metadata field containing provider specific data, like cancellation reason or origin"
},
"event_status": "scheduled",
"events": [
{
"created_at": "2022-01-01T00:00:00Z",
"status": "scheduled"
},
{
"created_at": "2022-01-02T00:00:00Z",
"status": "completed"
}
],
"external_id": "ext-123",
"iana_timezone": "America/New_York",
"id": "ea818b2d-0427-4475-be9d-93d4308a77f3",
"location": { "lat": 37.7749295, "lng": -122.4194155 },
"order_id": "0c46301c-b516-4d2f-a7ea-9612ff628453",
"order_transaction_id": "dd2c933c-f5db-42c5-94b1-20894aa9168b",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "9a164fb2-79fd-4091-b6b6-b2437fc813c8"
}