Organizations API
Get the active organization
Returns the organization from the current auth context. Requires org_admin or org_owner.
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
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://demo.supercheck.dev/api/organizations/current"{
"success": true,
"data": {
"id": "string",
"name": "string",
"slug": "string",
"logo": "string",
"createdAt": "2019-08-24T14:15:22Z"
}
}Empty
{
"error": "Unauthorized"
}{
"error": "string"
}{
"error": "Not found"
}Empty