1.1 SMS Send
URL
{domain}/open-api/sms/send
Method
POST
| Parameter name | Required | Type of data | Description |
| Content-Type | Y | string | application/json |
Request Param
| Parameter name | Required | Type of data | Description |
| appId | Y | string | Application APPID |
| param | Y | string | Parameter body |
| sign | Y | string | Signature |
Request Param
| Parameter name | Required | Type of data | Length | Example | Description |
| timestamp | Y | long | - | 1677495496979 | current timestamp |
| requestId | Y | string | - | - | Merchant Sms request ID |
| bizType | Y | string | - | - | Business Type: OTP、MARKETING |
| templateCode | Y | string | - | - | Sms Template ID |
| mobileNum | Y | string | - | - | Thai mobile phone |
| templateParams | Y | string | - | - | Sms Content Params |
How to construct request body
Request body
param example
Response example
| paramter name | type | description |
| code | integer | response code |
| message | string | response message |
| data | Object | data |
data参数
| paramter name | type | description |
| requestId | string | Merchant Sms request ID |
| smsId | string | Bluepay Sms ID |
| bizType | string | Business Type: OTP、MARKETING |
| mobileNum | string | Thai mobile phone |
| templateCode | string | Sms Template ID |
| smsContent | string | Sms Content |
| smsStatus | string | SMS Send status PENDING, SUCCESS, FAIL |
Response example
code collection