Skip to content

API keys

API keys let your scripts, integrations and internal tools call the ServiceOps API on behalf of your organization. Each key carries scopes — the only capabilities it grants. A key without a scope can do nothing with the routes that scope protects, whatever else is configured.

  1. Open Organization → Settings → API keys.
  2. Choose Create a key, name it after the system that will use it — “Monitoring bridge”, not “key 2”.
  3. Select only the scopes that system needs.
  4. Copy the key now: it is shown once. ServiceOps stores only a hash.
ScopeGrants
ticket.readRead tickets
ticket.createCreate tickets
ticket.updateModify tickets
ticket.commentComment on tickets
ticket.closeClose tickets
knowledge.readRead knowledge articles
knowledge.searchSearch the knowledge base
ai_assist.useCall the AI Assist API
organization.readRead organization information

Send it in the Authorization header:

Terminal window
curl https://your-desk.example.com/api/v1/assist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "How do I reset my VPN access?"}'

Endpoint reference: API overview.

  • Revoke a key the moment the system using it is decommissioned — revocation is immediate.
  • Each key’s usage is visible next to it: last use and call counts, so a forgotten key is easy to spot and retire.