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": "e9157a4f-b310-457f-9c1d-9a0166d15900",
"location": { "lat": 37.7749295, "lng": -122.4194155 },
"order_id": "a0329b3b-3e58-4162-83d5-bdca4598f3fa",
"order_transaction_id": "5251b870-3c14-46c4-980b-51708361880b",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "78f65555-fe8e-430a-a1c0-4fbd79a854b7"
}