lab-testing
Appointment
postWebhooklabtest.appointment.*
Payload
Example payload
{
"data": {
"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": "298627aa-ac59-4217-b965-4fb537ecba4e",
"location": {
"lat": 37.7749295,
"lng": -122.4194155
},
"order_id": "c263ec63-57b5-4b1c-8ac2-ebdcc720d098",
"order_transaction_id": "a4616904-4657-4373-b6ee-f2b31e880d4b",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "6972adb1-8253-49cf-9136-205c5da193fc"
}
}Response
Successful Response
{"stackTrail":"webhooks:labtest.appointment.*:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}