TelefonAIv1
Contacts

Deletes the person — the right to be forgotten

Deletes the person — the right to be forgotten. Bookings, calls and outgoing messages REMAIN but lose name and number: the clinic's statistics and billing basis must not vanish because a person asks to be deleted. Recalls, tasks, waiting-list rows and her INCOMING SMS are removed entirely — those are her own words, not the clinic's. The reply counts both separately: anonymised for what remains without a person, removed for what is gone. Your webhook receivers get contact.deleted, so the person can be removed from your own systems too.

DELETE/v1/contacts/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

curl --request DELETE \
  --url "https://api.telefonai.dk/v1/contacts/<id>" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Success.

object

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