---
title: "Authentication methods for inbound integrations"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/integrations/inbound-authentication/
type: concept
application: platform_integration
last_updated: 2026-11-24
commit: 88e011e506a8
---


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.

<!-- source: platform_integration/data/AvailableValue?Table=SystemApiToken&Field=ValidationType -->
| 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 |

## 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 the token works on, for example **REST API (v1)**, **Inbound Webhooks** or **SCIM Provisioning**. An empty list allows every entry point.
- **URL Allowed Paths** limits the request paths, for example `/controller/ControllerName`. 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.

## Turning methods off

Two application properties switch methods off for the whole instance. Bearer tokens in the URL are off by default.

<!-- source: platform/data/ApplicationProperty -->
| Property | Default | Effect when false |
| --- | --- | --- |
| `system.auth.basic.enable` | true | Basic authentication is refused |
| `system.auth.bearer.enable` | true | Bearer tokens are refused |
| `system.auth.bearer.token.url.enable` | false | Tokens in the URL are refused |

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.


## Related

- [Create a System API token](page:integrations/create-a-system-api-token)
- [Integration methods](page:integrations/integration-methods)
- [Outbound credentials](page:integrations/outbound-credentials)
- [Set an application property](page:platform/set-an-application-property)
