Skip to main content
POST
/
message
/
{reference}
/
validate
Validate OTP
curl --request POST \
  --url https://staging.api.onenumber.africa/v1/message/{reference}/validate \
  --header 'Authorization: Bearer <token>'
{
  "statusCode": 123,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.onenumber.africa/llms.txt

Use this file to discover all available pages before exploring further.

This is endpoint is used to validate OTP.

Request Path Parameters

reference
string
required
The reference of the Message.

Response Data

statusCode
int
The status of the response. If the OTP is valid, the response will be 200.
message
string
The message (description) of the response.