TelefonAIv1
SMS

One message — outbound or inbound — in the same shape as the list

One message — outbound or inbound — in the same shape as the list. Use the id from POST /v1/sms to follow whether that exact message arrived: status goes from queued via sending and sent to delivered or failed, and failure_reason says why.

GET/v1/sms/{id}

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Parameters

idstringpathrequired

The id of the resource.

Request

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

Response

application/json

Success.

object

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