GET target-lists/{listname}/members/{id}

Overview

The Target-List API permits interaction with target lists associated with your company.  You can use the GET target-lists/{listname}/members/{id} call to confirm that a specified subscriber {id} is a member of the specified target list {listname}. If id is email, it must be in lower case. If there are list load personalization values associcated with the member on that list, those values will also be displayed.

Resource URI

GEThttps://api.yesmail.com/v2/target-lists/{listname}/members/{id}

Call Description

The GET target-lists/{listname}/members/{id} call returns the ID and email address for a specified member {id} of a specified target list {listname}.

HTTP Return Codes

Code

Description

200 OK

The request has succeeded.

401 Unauthorized

The request requires user authentication.  Invalid Api-User and/or Api-Key header value.

404 Not Found

The target list {listname} does not exist or is archived, or the subscriber {id} does not exist or is not a member of the target list or mixed case email was provided.

 

Response Payload: 
{
    "id": "jsmith@zzz.com",
    "email": "jsmith@zzz.com",
    "LASTNAME":"Smith",
     "Passcode": 42
}