Spoar
Projects

List projects

GET
/v2/projects

Public projects for anyone, plus private ones the caller's role or token lists. Organization admins see every project with its settings and may filter with visibility.

Authorization

AuthorizationBearer <token>

An API token from POST /v2/tokens (at_live_...), or a project's secret key (sk_...) for server-side ingest.

In: header

Query Parameters

visibility?string

Keep only public or only private projects.

Value in

  • "public"
  • "private"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/projects"
{  "data": [    {      "id": "client-portal",      "name": "Client portal",      "domain": "portal.example.nl",      "visibility": "private",      "publicVisitorData": false,      "sqlEnabled": true,      "widgetReports": false,      "allowedOrigins": [        "https://portal.example.nl"      ],      "retentionDays": 90,      "publicKey": "pk_live_a81d44e0",      "createdAt": "2026-01-11T09:30:00.000Z",      "updatedAt": "2026-08-02T12:00:00.000Z"    }  ],  "nextCursor": null}