Get the current Account
/api/v1/accountReturns the Account's profile: id, name, slug, settings, plan, the optimistic-lock version, and delete_grace_days. Any account API key of the Account, or any of its administrators, may read it; no scope is needed, because the key already belongs to the Account. Pass the returned version back as If-Match on an update.
Authentication
Bearer Token
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
API Key
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Responses
application/json
data *AccountResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/account" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "id": "string", "name": "string", "slug": "string", "settings": {}, "plan": "string", "version": 0, "created_at": "2026-04-20T12:00:00.000Z", "updated_at": "2026-04-20T12:00:00.000Z", "delete_grace_days": 0 } }
Tell us how we can improve this guide.