Send Otp Message
POST/nusasms_api/1.0/wa_business/otp
Send OTP message
info
For this endpoint you have to user Authentication template.
OTP Text Rules
- Max 15 Characters
- Can not contain any space character
Request Example
Json request example
{
"recipient": "628XXXYYYYY",
"gateway_id": "GATEWAY_ID",
"template": { "language": "id", "name": "template_name" },
"otp": "OTP CODE 123"
}
Request
Responses
- 200
- 400
- 403
- 422
Successful Response
Request validation error
Forbidden access
Validation Error