Docs
On this page
concept3 min readApplication: Platform Integration

Authentication methods for inbound integrations

How an external system can authenticate when it calls Servicely, what each method protects against, and how to choose one.

An inbound integration is an external system that calls Servicely, for example through the REST API or an inbound webhook. This page explains the authentication methods it can use, so administrators and integration developers can pick the right one before they create a token.

The methods

Servicely accepts basic authentication and System API tokens. A System API token has a Validation type that sets how strictly Servicely checks each request.

Method Validation type What the caller sends What it proves
Basic authentication Not a token A username and password in the request headers That the caller knows a user’s password
Bearer token None (Bearer token in Header) The token in the request headers That the caller holds the token
Bearer token in the URL None (Bearer token in URL) The token as a query parameter That the caller holds the token
HMAC header HMAC header validation The token and a hash of one or more headers, made with a shared secret That the caller knows the shared secret
HMAC body HMAC body validation The token and a signature over the method, body hash, content type, date and path That the caller knows the shared secret and the request was not changed in transit
A new System API token with HMAC header validation, SHA256 and the Date header key.

How the methods compare

Basic authentication is the simplest method and the least secure. The password travels with every request and belongs to a real user.

A bearer token replaces the password with a token that you can restrict and deactivate on its own. It gives no protection against a man-in-the-middle attack. It does not prove who sent the request or that the message arrived unchanged.

A token in the URL has the same weaknesses as a bearer token. URLs are also more likely to be logged. Use it only when the calling system cannot set headers.

HMAC header validation adds a shared secret. The caller hashes the Date header, or the headers you list in Header key, with that secret. A third party that copies the token cannot build a valid hash.

HMAC body validation also signs the request body. It is the only method that shows the message was not altered in transit. Choose it for integrations that create or change records.

What every token request runs as

Every request made with a System API token runs as the token’s Impersonate user. The user’s roles and permissions decide what the request can read and change. Create a dedicated integration user with only the roles the integration needs, rather than impersonating an administrator.

You can narrow a token further:

  • Allowed Scopes limits the entry points, for example REST API (v1), Inbound Webhooks or MCP Server. Once any are selected, every other entry point is refused. That includes internal endpoints that have no scope of their own. An empty list allows every entry point.
  • URL Allowed Paths limits the request paths, for example /controller/ControllerName or /v1/**. An empty field allows every path the scopes and the user permit.

Both apply together. A request must pass the scope check and the path check.

Only an administrator can save a token whose Impersonate user holds administrator, directly or through another role. Tokens saved before 2027.1 keep working until someone next saves them.

Administrator privileges decides whether token logins keep the administrator role while administrator escalation is enabled. The default, Follow system setting, uses the system setting for token logins.

Turning methods off

Go to Access & security → Security → Security settings and open the Access tab. Two fields there switch methods off for the whole instance.

Field Property Default Effect when No
Basic authentication system.auth.basic.enable Yes Basic authentication is refused
Bearer authentication system.auth.bearer.enable Yes Bearer tokens are refused

Bearer tokens in the URL are off by default. The application property system.auth.bearer.token.url.enable controls them. It is not on the Security settings page.

To allow tokens in the URL, set system.auth.bearer.token.url.enable to true. Then activate the None (Bearer token in URL) validation type, which ships inactive. Restrict any such token with URL Allowed Paths.

Token secrets are shown once

When you generate a token, Servicely shows the token and its shared secret once. It stores only the token prefix and a hash of the token, so nobody can read the token back from the instance. If the value is lost, generate a new token and update the calling system.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top