Segments

Get a segment customer count

Changed on

Returns the membership count for a segment.

get/v1/segments/{segment_id}/customer_count

Request

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

Response

Returns the customer count for a segment.

segment_idinteger

The identifier for a segment; used to target a segment in requests.

countinteger

The total number of customers in the segment.

Example response

{
  "segment_id": 7
}

Changes