SupportWire API
API ReferenceSegments

List segments

Required scope: `segments:read`.

GET
/api/oauth/v1/segments

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth access token, e.g. Authorization: Bearer swot_….

In: header

Response Body

application/json

curl -X GET "https://example.com/api/oauth/v1/segments"
{
  "data": [
    {
      "id": "string",
      "organization_id": "string",
      "created_by_id": "string",
      "name": "string",
      "description": "string",
      "filter": {},
      "inserted_at": 0,
      "updated_at": 0
    }
  ]
}