DOCS

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

  1. Go to Integrations → API Tokens.
  2. Click New token.
  3. Enter a descriptive name (for example: ci-pipeline or monitoring-script).
  4. Choose the scopes with the read / write chips (see Token scopes below).
  5. 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:

bash
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

  1. Go to Integrations → API Tokens.
  2. Find the token row.
  3. 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:

ScopeGrants
readRead-only access to your resources (GET endpoints).
writeCreate, update, and delete resources (POST/PUT/PATCH/DELETE).
metricsAccess to metrics ingestion endpoints.
adminFull 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?