curl --request GET \
--url http://localhost:3333/v1/organization/primary-color \
--header 'X-API-Key: <api-key>'{
"primaryColor": "#3B82F6",
"authType": "api-key"
}Returns the primary color of the organization. Supports three access methods: 1) API key authentication (X-API-Key header), 2) Session authentication (cookies + X-Organization-Id header), or 3) Public access using an access token query parameter (?token=tok_xxx). When using an access token, no authentication is required.
curl --request GET \
--url http://localhost:3333/v1/organization/primary-color \
--header 'X-API-Key: <api-key>'{
"primaryColor": "#3B82F6",
"authType": "api-key"
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Was this page helpful?