| Variable | Type | Description |
|---|---|---|
| list_id | string|int | The ID of the list from which to unsubscribe |
| telephone | string | The email of the subscriber |
| ip | string | The ip address of the action |
| Parameter | Description |
|---|---|
| int | The subscriber id |
curl "https://ssl.newsman.app/api/1.2/rest/your_user_id/your_api_key/sms.saveUnsubscribe.json?list_id=my_list_id&telephone=test_number&ip=the_ip_address" "75002" | Code | Message | Description |
|---|---|---|
| 407 | Missing required param list_id | list_id param is required |
| 407 | Missing required param telephone | telephone param is required |
| 407 | Missing required param ip | ip param is required |
| 101 | Not allowed for list_id = %s | Invalid access to subscriber list_id |
| 108 | List %s has been deleted | List ID belongs to a list which has been deleted |
| 122 | Invalid IP received $ip | The IP is invalid |
| 121 | No such subscriber for telephone %s and list_id %s | The subscriber was not found |
| 201 | Internal ERROR. | A database error occurred |
| 121 | No such subscriber for telephone %s and list_id %s | Abonatul nu a fost găsit |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Missing required param telephone", "code": 407 }
{ "err": true, "message": "Missing required param ip", "code": 407 }
{ "err": true, "message": "Invalid IP received acme", "code": 122 }