Retrieves all Target Lists currently attached to a Pipeline stage.
Returns the Target Lists linked to the specified stage, which determine which devices or device groups the stage will act on when the pipeline runs.
About Stage Target Lists Pipelines orchestrate multi-step device operations through Stages, each of which executes against one or more Target Lists (collections of devices or device groups). Attaching a Target List to a Stage is what tells that step of the pipeline which devices to target.
Key Fields / Query Parameters
stage_id— UUID of the Stage whose attached Target Lists you want to retrievetype— Optional query filter to scope the returned Target Lists by type
Security
pipelines_SCAPIAuthToken
- Mock serverhttps://develop-api.esper.io/_mock/openapi/pipelines/v0/stages/{stage_id}/targetlists/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/pipelines/v0/stages/{stage_id}/targetlists/
curl -i -X GET \
'https://develop-api.esper.io/_mock/openapi/pipelines/v0/stages/{stage_id}/targetlists/?type=groups' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "code": 0, "message": "string", "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }