Variable | Type | Description |
---|---|---|
list_id | string|int | The ID of the list in which to save the subscriber |
telephone | string | The telephone number of the subscriber |
firstname | string|null | The firstname of the subscriber, can be null. |
lastname | string|null | The lastname of the subscriber, can be null. |
ip | string | The ip address of the subscriber |
props | struct|null | Hash array with props (can be later used to build segment criteria) |
Parameter | Description |
---|---|
int | The subscriber_id |
65002
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 firstname | firstname param is required |
407 | Missing required param lastname | lastname param is required |
407 | Missing required param ip | ip param is required |
407 | Missing required param props | props 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 |
126 | Optout telephone received %s | Optout telephone. Only initsubscribe is allowed. |
123 | Invalid telephone %s. | The telephone is not valid |
201 | Internal Database Error. | A database error occurred |
{ "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 firstname", "code": 407 }
{ "err": true, "message": "Missing required param lastname", "code": 407 }
{ "err": true, "message": "Missing required param ip", "code": 407 }
{ "err": true, "message": "Missing required param props", "code": 407 }
{ "err": true, "message": "Invalid IP received acme", "code": 122 }