Variable | Type | Description |
---|---|---|
subscriber_id | string|int | The ID of the subscriber for which to get the data |
Parameter | Description |
---|---|
list_id | The ID of the list of the subscriber |
subscriber_id | The ID of the subscriber |
The email of the subscriber | |
status | The status: any of subscribed, unsubscribed, bounced, spam, inactivated |
subscribe_date | The date of subscription. Present if subscribed. |
unsubscribe_date | The date of unsubscription. Present if unsubscribed. |
bounce_date | The date of the bounce. Present if bounced. |
spam_date | The date of the spam report. Present if spam complaint received |
firstname | The firstname of the subscriber |
lastname | The lastname of the subscriber |
ip | The ip of the subsscription |
props | Hash array with props stored for this subscriber |
segments | Hash array with the segments that includ this subscriber |
{ "list_id": "my_list_id", "subscriber_id": 75001, "email": "test@example.com", "status": "subscribed", "subscription_type": "import", "subscribe_date": "2018-05-13 17:02:32", "firstname": null, "lastname": null, "ip": "127.0.0.1", "props": [], "segments": [ { "segment_id": 15002, "name": "my_segment_name" } ] }
Code | Message | Description |
---|---|---|
407 | Missing required param subscriber_id | subscriber_id param is required |
101 | Not allowed for list_id = %s | Invalid access to subscriber list_id |
108 | List %s has been deleted | Subscriber ID belongs to a list which has been deleted |
129 | Not allowed for subscriber with ID: %s | Invalid access to subscriber id |
121 | Could not load subscriber | The subscriber was not found |
{ "err": true, "message": "Missing required param subscriber_id", "code": 407 }
{ "err": true, "message": "Not allowed for subscriber with ID: 752981", "code": 129 }