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": "9303def4-57de-4017-87a9-3f4b5c9c9619",
"location": {
"lat": 37.7749295,
"lng": -122.4194155
},
"order_id": "1870d600-5330-4a20-bc13-2816a2a0c128",
"order_transaction_id": "ea2288e7-29ac-41d4-8ef6-b6f5d345288f",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "f8f63e62-b063-406f-a330-f375aa4bf3a4"
}
}Response
Successful Response
{"stackTrail":"webhooks:labtest.appointment.*:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}