---
title: "Confirm an agent link with the code from its text (typed by the patient, never by an assistant)"
method: POST
path: "/api/public/dental-network/codes"
---

# Confirm an agent link with the code from its text (typed by the patient, never by an assistant)

`POST /api/public/dental-network/codes`

## Request

- Base URL: `https://book.xonark.com`
- URL: `https://book.xonark.com/api/public/dental-network/codes`
- Auth: none declared

## Request body

- object
  - `action_id` string
  - `code` string, required
  - `phone` string

## Response `200`

accepted

## Other responses

- `400`: invalid
- `429`: locked or busy

---

[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)
