Scopes
API key permission scopes for certificates and templates
When you create an API key you can attach permission scopes. Each API operation declares its API-key policy, and centralized authorization enforces that policy after the route is matched.
Full access
An empty permissions list grants full access to every operation in the published developer API. It does not grant access to workspace administration: billing, members, API keys, custom domains, email-sender configuration, media, analytics, or other dashboard settings are session-only.
Available scopes
| Scope | Allows |
|---|---|
certificates:read | GET on certificate, issue, recipient, correction, and request-form paths |
certificates:write | Non-GET methods on those same paths |
designs:read | GET on certificate design paths |
designs:write | Non-GET methods on certificate design paths |
email_templates:read | GET on email-template paths |
email_templates:write | Non-GET methods on email-template paths |
Policies are operation-based:
- Certificate design operations declare
designs:readordesigns:write. - Email-template operations declare
email_templates:readoremail_templates:write. - Certificate, issue, recipient, correction, and request-form operations declare
certificates:readorcertificates:write. - Workspace administration operations (billing, members, API keys, domains, email-sender configuration, media, and analytics) are not available to API keys.
- Authenticated operations without an API-key policy reject API-key callers by default.
Missing permission returns 403 with code missing_permission.
Examples
| Call | Scope needed |
|---|---|
GET .../certificates | certificates:read (or full access) |
POST .../certificates/{id}/issues | certificates:write (or full access) |
POST .../certificates/{id}/send | certificates:write (or full access) |
GET .../requests | certificates:read (or full access) |
POST .../requests/{id}/approve | certificates:write (or full access) |
GET .../corrections | certificates:read (or full access) |
POST .../corrections/{id}/approve | certificates:write (or full access) |
GET .../recipients | certificates:read (or full access) |
| Design draft / publish / fork | designs:read / designs:write (not in this v1 reference) |