Authorization header:
401.
Getting a key
Create a key from your account settings. It is shown once, at creation — only a hash is stored, so it cannot be recovered or re-sent. If you lose one, revoke it and create another.Keys belong to a person
A key is issued to you, not to your organization, and it acts within one organization. Every response is limited to that organization — there is no parameter for choosing another, and no way for a key to reach another tenant’s data. Because the key is yours, the API knows who is asking. That is what makes requests like “my time off” meaningful rather than ambiguous.Scopes
A key carries scopes that say what it may do. Grant only what the integration needs.
Deleting is deliberately separate from writing. An assistant that tidies up your data does not
need the ability to remove it, and a key can be created that reflects that.
A request for something the key lacks returns
403, and the operation does not run.
Your role is the ceiling
Scopes narrow what you can do — they never widen it.
So a member’s key requesting
departments:write is created, but that scope has no effect: the
request returns 403. Your role is read at the time of each request, so if it changes, your
existing keys follow immediately.
Expiry and revocation
A key can be given an expiry, and can be revoked at any time. Both take effect on the next request, which then returns401.