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": {
"city": "San Francisco",
"country": "United States",
"first_line": "123 Main St.",
"second_line": "Apt. 208",
"state": "CA",
"zip_code": "91189"
},
"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": "3bedf05e-73e6-4432-9b29-1603048d2a92",
"location": { "lat": 37.7749295, "lng": -122.4194155 },
"order_id": "47eee875-1fbc-438a-acd5-cc342c6cc273",
"order_transaction_id": "acb68be5-8f58-402c-ad40-2ef77c3e54ef",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "b32e9437-b137-4643-8d7c-3455a710c1f4"
}