TelefonAIv1
Calls

Mark the call as handled — or unhandled again — and set its tags

Mark the call as handled — or unhandled again — and set its tags. Use it when YOUR system has called the patient back, so the front desk does not do the same. tags replaces the WHOLE set: send the list as it should be afterwards; an empty list removes all. The conversation itself — transcript, summary, recording — cannot be changed.

PATCH/v1/calls/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

curl --request PATCH \
  --url "https://api.telefonai.dk/v1/calls/<id>" \
  --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."
  }
}