PlunkPlunk
API ReferenceSegments

List segments

Get all audience segments

GET
/segments

Authorization

ApiKeyAuth

AuthorizationBearer <token>

API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. The project is automatically derived from the key.

In: header

Response Body

application/json

curl -X GET "https://next-api.useplunk.com/segments"
{
  "success": true,
  "data": [
    {
      "id": "string",
      "name": "string",
      "filters": {},
      "trackMembership": true,
      "memberCount": 0
    }
  ]
}