v1

latestOpenAPI 3.0.32026-07-1416063.7 KB

Get Segment By ID

This endpoint retrieves a segment owned by the client.

get/segments/{id}

Path parameters

idinteger required

The ID used to identify the segment.

Response

200

Example response

{
  "data": {
    "id": 1,
    "name": "Main Subscribers",
    "number_id": 1,
    "type": "static",
    "status": "active"
  }
}