Variable | Type | Description |
---|---|---|
list_id | string|int | The ID of the list in which to save the subscriber |
string | The email 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). Tags may be specified by adding the tag_ prefix to the key of a prop, eg: tag_city |
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 email | email 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 email received %s | Optout email. Only initsubscribe is allowed. |
123 | Invalid email address %s. | The email 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 email", "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 }