Team and administration
API tokens
Let programs, scripts and automations manage Sealed Print with an API token.
An API token gives a program access to the Sealed Print REST API, for example to follow jobs, manage destinations or read the queue from a script. A token acts on behalf of the person who created it, with at most their permissions, and only in the organization where it was created. The API reference describes every endpoint with examples.
Prerequisites
- Every member can create tokens in a browser session. Admins see and can revoke all tokens of the organization.
- Tokens manage and control Sealed Print: jobs, sources, destinations and settings. They cannot submit jobs; programs send documents to an API endpoint instead.
- Included in every plan.
One-time setup
- Go to Settings → API tokens and select New token.
- Enter a Name that says what the token is used for, for example "Invoice export accounting".
- Choose the Permissions: User (your own sources, destinations and jobs), Admin or Owner, at most your own role.
- Choose the Expiration: 7, 30 or 90 days, 1 year, a custom date, or no expiration.
- Select Create and copy the token. It is shown only now; store it securely, for example in a password manager.
Send the token with every request in the header Authorization: Bearer sp_api_…. To list your jobs:
curl "https://www.sealedprint.com/api/jobs" \
-H "Authorization: Bearer sp_api_…"
With the same header your program follows a job (GET /api/jobs/{id}), sends it to further destinations or
cancels it.
Every time
- Last used on the token list shows whether a program still uses the token.
- Rename changes the name; Roll issues a new secret for the same token (the old one stops working at once, name, permissions and expiry stay); Revoke ends it for good.
- Show expired and revoked lists tokens that no longer work.
Troubleshooting
- HTTP 401: the token is missing, wrong, expired or revoked.
- HTTP 403: the token's permissions do not allow the action. Submitting a job with a token is not possible
(code
api_endpoint_required); send the document to an API endpoint. - A token suddenly stops working: tokens become invalid when the person who created them leaves the organization. Create a new token with another member.
- The token was copied somewhere it should not be: select Roll or Revoke right away.
What's next
- API reference: every endpoint, with the OpenAPI description.
- API endpoints
- Inbound and outbound channels