1a22b97afb3a

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-102076961.5 MB
lab-testing

Appointment

postWebhooklabtest.appointment.*

Payload

event_type'labtest.appointment.created' | 'labtest.appointment.updated' required
user_idstring uuid required
client_user_idstring uuid required
team_idstring uuid required

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": "60b22bac-e838-4711-8ded-1441973c103e",
    "location": {
      "lat": 37.7749295,
      "lng": -122.4194155
    },
    "order_id": "f0c2be18-9bd4-4f86-b6ab-8a4046384392",
    "order_transaction_id": "dd169efd-ccb8-49a9-be61-f5d65730aed9",
    "provider": "getlabs",
    "provider_id": "123",
    "start_at": "2022-01-01T00:00:00",
    "status": "confirmed",
    "type": "phlebotomy",
    "user_id": "76501092-5b08-4708-bca4-9b8a7fec5608"
  }
}

Response

Successful Response

{"stackTrail":"webhooks:labtest.appointment.*:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}