TelefonAIv1
Calls

List calls, newest first

List calls, newest first. Every call carries handled_at (null = not handled) and tags — the same labels as in the app. Filters can be combined; an invalid id or an unknown value gives 400, so a typo does not look like an empty list.

GET/v1/calls

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

limitintegerquery

Rows per page. 1–100, default 25.

offsetintegerquery

Rows to skip. Default 0.

fromstringquery

Only calls started at or after this time (ISO 8601).

tostringquery

Only calls started before this time (ISO 8601).

outcomestringquery

booked · message · transferred · answered · missed

phonestringquery

Only calls from this number, any format. An invalid number gives an empty list.

contact_idstringquery

Only calls linked to this contact.

assistant_idstringquery

Only calls handled by this assistant.

directionstringquery

inbound or outbound.

handledbooleanquery

false gives the calls nobody has handled yet — the front desk's work list.

tagstringquery

Only calls with this tag: urgent, new_customer, callback, invoice or complaint.

Request

curl --request GET \
  --url "https://api.telefonai.dk/v1/calls" \
  --header "Authorization: Bearer $API_NOEGLE"

Response

application/json

Success.

object

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