GET target-lists/{listname}

Overview

The Target-List API permits interaction with target lists associated with your company. You can use the API's GET /v2/target-lists/{listname} call to return a specific target list and its summary information.

Resource URI

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

Call Description

The GET target-lists/{listname} call returns the target list name and summary information for 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.

 

Response Payload: 
{
    "name": "TargetList1",
    "memberCount": 2500
}