Skip to content

Get organization profile

GET
/v1/organization
Code sample: Get organization profile
curl --request GET --url "https://api.example.com/v1/organization" --header "X-API-Key: $COMP_AI_API_KEY"

Retrieve organization profile data used to personalize compliance workflows, Trust Center branding, API automation, and audit readiness reporting.

includeOwnership
string

Include ownership data for transfer UI

Organization information retrieved successfully

Media typeapplication/json
object
id

The organization ID

string
name

Organization name

string
slug

Organization slug

string
logo

Organization logo URL

string
nullable
metadata

Additional metadata in JSON format

string
nullable
website

Organization website URL

string
nullable
onboardingCompleted

Whether onboarding is completed

boolean
hasAccess

Whether organization has access to the platform

boolean
fleetDmLabelId

FleetDM label ID for device management

integer
nullable
isFleetSetupCompleted

Whether FleetDM setup is completed

boolean
primaryColor

Organization primary color in hex format

string
nullable
createdAt

When the organization was created

string format: date-time
authType

How the request was authenticated

string
Allowed values: api-key session

Example

{
"id": "org_abc123def456",
"name": "Acme Corporation",
"slug": "acme-corp",
"logo": "https://example.com/logo.png",
"metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
"website": "https://acme-corp.com",
"onboardingCompleted": true,
"hasAccess": true,
"fleetDmLabelId": 123,
"isFleetSetupCompleted": false,
"primaryColor": "#3B82F6",
"authType": "api-key"
}

Unauthorized - Invalid authentication or insufficient permissions

Media typeapplication/json
object
message
string

Example

{
"message": "Invalid or expired API key"
}