Supercheck LogoSupercheck
Organizations API

Get assigned organization

Returns the selected project's host organization, or the default account organization when no project is selected. Users cannot create or switch organizations directly; they can select projects from their account and invited teams. data contains zero or one organization and activeOrganizationId identifies that organization; it is not a directory of all team memberships.

GET
/api/organizations

Authorization

bearerAuth
headerAuthorizationBearer <token>

Project-scoped CLI token (sck_live_* or sck_test_*) for documented API operations that accept bearer authentication. Interactive browser operations may require a session cookie. Trigger keys (sck_trigger_* / legacy job_*) are accepted only by job trigger endpoints.

Response Body

Organizations for the current user

application/json
  1. response
success?boolean
data?array<>
activeOrganizationId?string
Formatuuid
Example Request
curl -X GET 'https://demo.supercheck.dev/api/organizations'
Example Response
{  "success": true,  "data": [    {      "id": "string",      "name": "string",      "slug": "string",      "logo": "string",      "createdAt": "2019-08-24T14:15:22Z",      "role": "org_owner",      "isActive": true,      "subscriptionPlan": "string",      "subscriptionStatus": "string",      "subscriptionEndsAt": "2019-08-24T14:15:22Z"    }  ],  "activeOrganizationId": "52f3b24c-acc5-4e53-a2e3-48f1e4098426"}