SnozeDevelopers
API referenceAdmin

List the audience segments

Returns the segments available for feature flag and experiment targeting. Platform admins only.

GET
/v1/admin/segments

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/segments'
Example Response
{  "data": [    {      "id": "string",      "name": "string",      "description": "string",      "rules": [        "string"      ],      "matches": 0,      "usedBy": [        "string"      ]    }  ]}