Skip to content

Get all Targets in the Target List
Stable

Request

Retrieves all individual device Targets in a Pipeline Target List.

Returns each device-level Target record within the specified Target List, including its device identifier and active state.

About Targets A Target represents a single device entry within a Target List. Target Lists can hold Targets directly (individual devices) as well as Device Groups; this endpoint returns only the individually-added device Targets.

Key Fields / Query Parameters

  • pipeline_id — UUID of the parent Pipeline
  • targetlist_id — UUID of the Target List to list Targets from
Security
pipelines_SCAPIAuthToken
Path
pipeline_idstringrequired

ID of the Pipeline

targetlist_idstringrequired

ID of the Target List

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

Responses

All Targets in Target List

Bodyapplication/json
codeinteger
messagestring
contentobject
Response
{ "code": 0, "message": "string", "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }