Organizations API
Get organization details
Returns organization details, the caller's role, and project/member counts. Requires membership.
Authorization
bearerAuth AuthorizationBearer <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.
In: header
Path Parameters
id*string
Organization ID
Response Body
application/json
application/json
application/json
curl -X GET "https://demo.supercheck.dev/api/organizations/string"{
"success": true,
"organization": {
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"createdAt": "2019-08-24T14:15:22Z",
"metadata": {},
"role": "string",
"stats": {
"projectCount": 0,
"memberCount": 0
}
}
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Empty