TelefonAIv1
Tasks

Resolve a task — or reopen it

Resolve a task — or reopen it. Colleagues with the app open see the change immediately, so nobody calls the patient twice. Only resolved can be changed: the message is what the patient said.

PATCH/v1/tasks/{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/tasks/<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."
  }
}