List workspaces
Lists every workspace you belong to, newest first. Each entry carries your role in it and the features of its current plan, so a client can render the whole switcher from one call.
An OpenID Connect access token issued by Keycloak, acting as the signed-in user.
In: header
Query Parameters
The nextCursor of the previous page. Omit it to start from the beginning. A cursor encodes a position and is not meant to be built by hand.
How many items to return, from 1 to 200.
1 <= value <= 20050Match part of the name.
Response Body
application/json
curl -X GET "https://api-next.centralcsp.com/v1/workspaces?limit=50"{ "data": [ { "id": "string", "name": "Acme", "ownerId": "string", "requiresMfa": true, "disableAiIntegrations": true, "plan": { "slug": "pro", "name": "Pro", "features": [ "compliance", "alerting", "api_keys" ] }, "role": "admin", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "pagination": { "nextCursor": "string", "hasMore": true, "total": 0 }}Claim a custom subdomain PATCH
Moves the website's ingestion endpoint to a subdomain of your choice, for example shop.reports.centralcsp.com.
Create a workspace POST
Creates a workspace with you as its owner and first admin. A new workspace has no subscription, so choose a plan before it can collect reports.