Segments

Get a segment's dependencies

Changed on

Use this endpoint to find out which automations and one-time sends use a segment.

get/v1/segments/{segment_id}/used_by

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/segments/{segment_id}/used_by
  • Auth
    HTTP bearer

Response

Returns the IDs of items that reference the segment.

Example response

{
  "used_by": {
    "segment_id": 7
  }
}

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the media type application/json for the response with the status