TelefonAIv1
Webhooks

Send a test call to the receiver right now — the same body, headers and signature as a real delivery, but with the event `webhook.test`, which no real event is called

Send a test call to the receiver right now — the same body, headers and signature as a real delivery, but with the event webhook.test, which no real event is called. Use it in your own setup or CI. The reply is 200 even when YOUR server fails: ok says whether it answered with a 2xx, and error says what went wrong («HTTP 500: …», «timeout», «private_address»). Does not count as a failed delivery.

POST/v1/webhooks/{id}/test

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Idempotency-Keystringheader

Repeat a request safely: the same key returns the first response instead of creating a second row. Kept for 24 hours.

Request

curl --request POST \
  --url "https://api.telefonai.dk/v1/webhooks/<id>/test" \
  --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."
  }
}