OTP
Verify an OTP token with the provided code
Request
curl -X POST "https://api.simpu.co/otp/verify" \
-H "Content-Type: application/json" \
-d '{
"token": "123456",
"id": "674535b2b39158b9aae90188fcec23eb"
}'Response
{
"id": "674535b2b39158b9aae90188fcec23eb",
"recipient": "2348023456789",
"status": 1,
"status_desc": "SENT",
"created_datetime": "2024-06-28T23:56:38.128604+00:00",
"updated_datetime": "2024-06-28T23:56:38.128604+00:00"
}/otp/verify
application/json
OTP verify request object
200
404
application/json
OTP response
Request
curl -X POST "https://api.simpu.co/otp/verify" \
-H "Content-Type: application/json" \
-d '{
"token": "123456",
"id": "674535b2b39158b9aae90188fcec23eb"
}'Response
{
"id": "674535b2b39158b9aae90188fcec23eb",
"recipient": "2348023456789",
"status": 1,
"status_desc": "SENT",
"created_datetime": "2024-06-28T23:56:38.128604+00:00",
"updated_datetime": "2024-06-28T23:56:38.128604+00:00"
}