Authentication
Org-scoped API keys, permission scopes, and error handling
Every Clossir API request authenticates with an org-scoped API key. Keys are created in the dashboard or via the API itself, and each key carries a set of permission scopes that limit what it can access.
API keys
Or with the SDK:
Key properties
Permission scopes
Each API key is granted a subset of the 16 canonical scopes. Scopes follow the pattern
{resource}:{action} where action is read or write.
A write scope on a resource does not imply read. If your integration needs to both
create attestations and query their status, grant both attestations:write and
attestations:read.
Recommended scope sets
Error handling
The Clossir API returns errors as RFC 9457 application/problem+json responses — structured,
machine-readable error bodies with consistent fields.
Error shape
Standard fields
Common error types
Prerequisite errors
Some operations require prior state — for example, creating an attestation requires the party to exist. When prerequisites are not met, the response includes resolution hints:
The resolution field tells you exactly which API call to make to satisfy the prerequisite.
Next steps
- Quickstart — see authentication in action
- API Reference — explore the full operation catalog
- Webhooks — receive async notifications when state changes