Skip to content

Get all Target Lists attached to the Stage
Stable

Request

Security
SCAPIAuthToken
Path
stage_idstring, (uuid)required

ID of the Stage

Query
typestring
Enum:"groups""devices""collections"
cURL
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>'

Responses

All Targets Lists attached to the Stage

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