---
title: "Create a System API token"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/integrations/create-a-system-api-token/
type: task
application: platform_integration
last_updated: 2026-10-18
commit: 5ea5eb0dd83d
---


Create a System API token when an external system needs to call Servicely without a user's password. You end with a token, and a shared secret for HMAC validation, that the external system sends with each request.

## Before you begin

- You need the `api_token_administrator` role, or `administrator`.
- Create the user the token will run as, with only the roles the integration needs.
- Choose a validation type. [Authentication methods for inbound integrations](page:integrations/inbound-authentication) compares them.
- Know which entry points and paths the external system calls.

## Steps

<Steps>
  <Step>
    Go to **Administration → Integration → System API tokens** and select **New**.
  </Step>
  <Step>
    Enter a **Name** that identifies the external system.
  </Step>
  <Step>
    Set **Validation type**. The table below lists the values.
  </Step>
  <Step>
    For an HMAC validation type, check **Hash method**. It defaults to **SHA256**. For **HMAC header validation**, enter the headers to hash in **Header key**, separated by commas. It defaults to `Date`.
  </Step>
  <Step>
    Select the **Impersonate user**. Every request made with the token runs as this user.
  </Step>
  <Step>
    In **Allowed Scopes**, select the entry points the token may use, for example **REST API (v1)**. Leave it empty to allow every entry point.
  </Step>
  <Step>
    In **URL Allowed Paths**, enter the paths the token may call, separated by commas. For example, enter `/controller/ControllerName` to allow one controller. Leave it empty to allow every path the scopes and the user permit.
  </Step>
  <Step>
    Select **Generate Token**. Servicely shows the token and the shared secret.
  </Step>
  <Step>
    Copy both values and store them in the external system's secret store. Servicely does not show them again.
  </Step>
</Steps>

<!-- source: platform_integration/data/AvailableValue?Table=SystemApiToken&Field=ValidationType -->
| Validation type | Use when |
| --- | --- |
| None (Bearer token in Header) | The caller can send headers and needs only a token |
| HMAC header validation | The caller can hash headers with a shared secret |
| HMAC body validation | The caller can sign the method, body, content type, date and path |
| None (Bearer token in URL) | The caller cannot set headers. Inactive until you enable it. |

<Callout type="warning">
  Choosing **None (Bearer token in URL)** shows a warning. A token in a URL is easy to leak through logs. Restrict it with **URL Allowed Paths**.
</Callout>

## Result

The token is active and its record shows the **Token prefix**. Each request updates **Last authentication** and **Last authentication address**, so you can see when and from where the token was last used. To stop the integration, clear **Active**. If the token or secret is lost, create a new token and update the external system.

## Related

- [Authentication methods for inbound integrations](page:integrations/inbound-authentication)
- [Integration methods](page:integrations/integration-methods)
- [Export records to a reporting database](page:integrations/export-to-a-reporting-database)
