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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”includeOwnership
string
Include ownership data for transfer UI
Responses
Section titled “Responses”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
metadata
Additional metadata in JSON format
string
website
Organization website URL
string
onboardingCompleted
Whether onboarding is completed
boolean
hasAccess
Whether organization has access to the platform
boolean
fleetDmLabelId
FleetDM label ID for device management
integer
isFleetSetupCompleted
Whether FleetDM setup is completed
boolean
primaryColor
Organization primary color in hex format
string
createdAt
When the organization was created
string format: date-time
authType
How the request was authenticated
string
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"}