Send SMS
Send an SMS verification code (TAC) to a user's mobile phone. Useful for two-factor authentication, account verification, and transaction confirmation flows.
When to Use
▾
Use this endpoint when you:
- Need to verify a user's phone number during signup
- Want to send a one-time password (TAC) for authentication
- Require SMS-based confirmation for sensitive transactions
Currently supports the VERIFY_CODE type for sending verification codes.
How to Use
▾
/v3/smsStep 1: Get the User's Phone Details
▾
Collect the recipient's countryCode and phoneNumber. The country code is the international dialing code without the + sign (e.g., "60" for Malaysia).
Step 2: Prepare the Message
▾
Construct the SMS content in the message field. Keep it concise — typical TAC messages include the verification code and your app name.
Step 3: Send the Request
▾
POST the payload to the endpoint with authenticated headers (signature, nonce, timestamp).
Step 4: Check the Response
▾
A "SUCCESS" code confirms the SMS was queued for delivery. Errors return a code object — see Error Codes.
Request Parameters
▾
International dialing code without `+` (e.g., `"60"` for Malaysia).
Example: "60"
Recipient mobile number without country code.
Example: "163877652"
SMS message body to send to the user.
Example: "test"
SMS type. Use `"VERIFY_CODE"` for verification codes.
Example: "VERIFY_CODE"
Response Parameters
▾
`"SUCCESS"` if the SMS was queued. Otherwise returns an error code. See [Error Codes](../error-codes).
Example: "SUCCESS"