TelefonAIv1
Account

The campaigns and how far they have got

The campaigns and how far they have got. Read ONLY, and that is a compliance decision: every number on a campaign list has a user who vouched for the consent, and if a campaign could be started or fed from here, that signature would become a field filled in by a machine. The numbers are not included — progress counts by status and answers the question without handing over people who are not our customers. Times are minutes from midnight in the clinic's own time, and weekdays count from MONDAY = 0.

GET/v1/campaigns

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

limitintegerquery

Rows per page. 1–100, default 25.

offsetintegerquery

Rows to skip. Default 0.

statusstringquery

kladde, aktiv, pause or faerdig.

Request

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

Response

application/json

Success.

object

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