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": "398717a7-1bf3-40d8-845a-65f3dfe1d424",
"location": {
"lat": 37.7749295,
"lng": -122.4194155
},
"order_id": "58e15a02-2b92-4ec9-ab3d-86c3ac1f641f",
"order_transaction_id": "fb513ca8-b5c0-4fe8-9f1a-81753364d55b",
"provider": "getlabs",
"provider_id": "123",
"start_at": "2022-01-01T00:00:00",
"status": "confirmed",
"type": "phlebotomy",
"user_id": "3c6a1f25-84ba-4dcd-8264-ab8ce52f858f"
}
}Response
Successful Response
{"stackTrail":"webhooks:labtest.appointment.*:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}