Skip to content

Get a Pipeline Target list
Stable

Request

Retrieves the details of a single Target List by ID.

Returns the full Target List object for the specified pipeline and target list; use this to inspect which devices or Device Groups a particular targeting definition includes.

About Target Lists

A Target List defines which devices — via individual Targets and/or Device Groups — a Pipeline's Stages act on when the pipeline runs.

Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

targetlist_idstringrequired

ID of the Target list

cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/pipelines/v0/pipelines/{pipeline_id}/targetlists/{targetlist_id}/' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Get target list

Bodyapplication/json
codeinteger
messagestring
contentobject(pipelines_TargetList)
Response
{ "code": 0, "message": "string", "content": { "id": "string", "pipeline_id": "string", "name": "string", "target_list_type": "string", "created_by": 0, "updated_by": 0, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }