The object for creating SMS mailing has the following fields:
| Field | Type | Description |
|---|---|---|
| client_ids | array of numbers | Array of client IDs |
| text | string | SMS text message |
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/sms/clients/by_id/{location_id}
- Productionhttps://api.alteg.io/api/v1/sms/clients/by_id/{location_id}
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/sms/clients/by_id/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"client_ids": [
1,
2,
3,
4,
5
],
"text": "Dear clients, we congratulate you on being our clients! You are very lucky!"
}'Response
{ "success": true, "meta": { "message": "Accepted" } }