---
title: "Get the booking's result"
method: POST
path: "/api/public/dental-network/tools/confirm_xona_booking"
---

# Get the booking's result

`POST /api/public/dental-network/tools/confirm_xona_booking`

## Request

- Base URL: `https://book.xonark.com`
- URL: `https://book.xonark.com/api/public/dental-network/tools/confirm_xona_booking`
- Auth: none required

Get the result once the patient has tapped the text link and pressed Book this appointment. Until then it returns waiting_for_patient. Xona finds an existing patient itself; when it cannot tell, it returns the practice's booking page instead of guessing. If the booking stopped before it was written, the first call tries it once more. Calling again returns the same outcome.

## Request body

- object
  - `action_id` string, required

## Response `200`

Get the booking's result

- object
  - `action_id` string, required
  - `appointment_start` string, date-time
  - `appointment_start_local` string
  - `booking_steps` object[]
    - `patient_does` string
    - `patient_provides` string[]
    - `status` 'done' | 'waiting_for_patient' | 'not_started', required
    - `step` integer, required
    - `tool` string
    - `xona_sends` object
      - `channel` string, required
      - `contains` string
      - `link_expires_at` string, date-time
      - `to` string
  - `booking_url` string
  - `confirmation_sms` string
  - `consent_version` string
  - `continue_url` string
  - `link_expires_at` string, date-time
  - `next_step` string, required
  - `outcome` string, required
  - `practice` object, required
    - `name` string, required
    - `slug` string, required
  - `reason` string

## Other responses

- `400`: Invalid request or action state
- `403`: Public write is disabled, or not a member of the claiming account
- `404`: Dental resource not found
- `410`: Dental action expired
- `413`: Request body too large
- `429`: Rate limit exceeded
- `502`: Clinic booking provider is unavailable
- `503`: Gateway temporarily unavailable
- `504`: Clinic booking provider timed out

---

[API](https://skmtc.dev/xonark/apis/xona-dental-gateway-public-api.md) · [All operations](https://skmtc.dev/xonark/apis/xona-dental-gateway-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xonark/apis/xona-dental-gateway-public-api/revisions/886252359184?raw)
