Import SMS data.
curl -X POST \
https://developer.wiseback.com/api_v1/sms/import \
-H 'Content-Type: application/json' \
-H 'x-api-key: {api_key}' \
-H 'x-secret-key: {secret_key}' \
-d '{data}'
| Parameters | Mandatory | Description |
|---|---|---|
| data | Data to be imported for sending SMS in JSON format. |
An example structure of data parameter is as following:
[
{
"docid": "1320",
"phone": "+905551001010",
"area_code": "01",
"store_code": "116"
},
{
"docid": "1321",
"phone": "+905551001011",
"area_code": "01",
"store_code": "117"
}
]
| Key field | Mandatory | Description |
|---|---|---|
| docid | A unique identifier for the record. | |
| phone | Phone number. |
Other fields are custom fields for tracking purposes. You may add your own fields.