TelefonAIv1
Assistants

Update an assistant

Update an assistant. The same operation as the POST below, but at the address you expect. voice_id and language cannot be set here: they need to be heard before they are saved, and that happens in the dashboard. There is no DELETE — a phone number points at the assistant, and if she vanished the number would ring with nobody to answer. Switch her off with active: false instead.

PATCH/v1/assistants/{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/assistants/<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."
  }
}
Update an assistant — TelefonAI