Skip to main content
GET
/
api
/
v1
/
sms
/
{id}
Get SMS message
curl --request GET \
  --url https://api.torpedo.co.mz/api/v1/sms/{id} \
  --header 'X-API-Key: <api-key>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "to": "+258841234567",
    "body": "Your verification code is 482910.",
    "providerId": "<string>",
    "failedReason": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "sentAt": "2023-11-07T05:31:56Z",
    "deliveredAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

Prefix tor_ followed by a base64url-encoded random key. Obtain one from POST /api/v1/workspaces or POST /api/v1/auth/keys.

Path Parameters

id
string<uuid>
required

Response

SMS message

data
object