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": "82961f02-efa2-484b-827a-8fe73b867617",
"location": { "lat": 37.7749295, "lng": -122.4194155 },
"order_id": "1799bab0-44a9-40d1-bff9-e365443b70ca",
"order_transaction_id": "c9ae4e89-b83a-4af2-8a85-e8d05d37b163",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "1eb1494e-8f26-4a7c-983a-8bd888c5f9a7"
}