Create and manage API tokens
Issue personal access tokens for scripted access to the HowlOps REST API.
API tokens let scripts, CI pipelines, and external tools authenticate against the HowlOps REST API without using your password.
Create a token
- Go to Integrations → API Tokens.
- Click New token.
- Enter a descriptive name (for example:
ci-pipelineormonitoring-script). - Choose the scopes with the
read/writechips (see Token scopes below). - Click Create.
The token starts with howlops_ followed by a 64-character hex string. Tokens created from the UI do not expire; revoke a token when you no longer need it.
Use a token
Pass the token as a Bearer token in the Authorization header:
curl -X GET https://api.example.com/api/v1/monitors \
-H "Authorization: Bearer howlops_abc123..."
All API endpoints that require authentication accept this token. See the REST API reference for a full endpoint listing.
Revoke a token
- Go to Integrations → API Tokens.
- Find the token row.
- Click the action menu (...) > Revoke.
The token becomes invalid immediately. There is no recovery; create a new token if needed.
List and audit tokens
The API tokens list shows every active token along with:
- Name
- Permissions (scopes)
- Created date
- Last used date (updated best-effort on each request)
- Expiry date (UI-created tokens show "Never")
If a token has not been used in a long time, consider revoking it to reduce attack surface.
Token scopes
Every token carries one or more scopes that bound what it can do:
| Scope | Grants |
|---|---|
read | Read-only access to your resources (GET endpoints). |
write | Create, update, and delete resources (POST/PUT/PATCH/DELETE). |
metrics | Access to metrics ingestion endpoints. |
admin | Full tenant access — all endpoints, including mutating operations. |
Write operations require a token that includes the write scope (or admin); a read-only token is rejected on any mutating request. The New token form has read and write scope chips; pick both if your script needs to create, update, or delete resources. The form defaults to read.
Token limit
The number of active API tokens is capped per plan (max_api_tokens from your capability plan). Attempting to create a token beyond the cap returns a limit error — revoke an unused token or upgrade the plan to raise the ceiling. Mobile app device tokens do not count toward this cap.
See also
Was this page helpful?