Skip to main content
GET
https://staging.api.onenumber.africa/v1
/
message
/
{reference}
Get Message
curl --request GET \
  --url https://staging.api.onenumber.africa/v1/message/{reference} \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>",
  "data": [
    {
      "reference": "<string>",
      "currentStatus": "<string>",
      "type": "<string>",
      "message": "<string>",
      "expiry": "<string>",
      "recipients": [
        {
          "reference": "<string>",
          "phoneNumber": "<string>",
          "email": "<string>",
          "firstName": "<string>",
          "lastName": "<string>"
        }
      ],
      "statuses": [
        {
          "name": "<string>",
          "createdAt": "<string>"
        }
      ]
    }
  ]
}

Request Path Parameter

reference
string
required
The reference of the Message.

Successful Response Data

statusCode
int
required
The status of the response. For successful response, value is 201. Check the Response Codes page for details.
message
string
required
The message of the response.
data
array