Skip to main content
POST
https://staging.api.onenumber.africa/v1
/
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>"
}
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.