TelefonAIv1
Check-in

Mark a booking as arrived

Mark a booking as arrived. Point at it with exactly one of the four fields. The response is ALWAYS 200 — also when no booking matched; the body says ok true or false with a reason. If the two could be told apart, the endpoint could be used to ask whether a person is a patient at the clinic. The exception is 429 rate_limited: lookups by person (cpr_hmac, birth_date, phone) are limited to 60 attempts per hour per clinic; booking_id does not count.

POST/v1/checkins

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

Idempotency-Keystringheader

Repeat a request safely: the same key returns the first response instead of creating a second row. Kept for 24 hours.

Request

curl --request POST \
  --url "https://api.telefonai.dk/v1/checkins" \
  --header "Authorization: Bearer $API_NOEGLE" \
  --header "Content-Type: application/json" \
  --data '{}'

Response

application/json

Success.

object

401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}