Skip to main content
Managing API credentials requires a Super Admin account in Sophos Central — without it, API Credentials does not appear under Access Control. The Client Secret is shown only once, right after the credential is created, and cannot be retrieved afterwards.

Open API Credentials

API credentials live in the global settings of Sophos Central.

1

Open the API Credentials page

Sign in to your Sophos Central account.

  • Click the gear icon in the top navigation to open Global Settings.
  • Under Access Control, click API Credentials.
The Global Settings page with API Credentials highlighted under Access Control

Add a credential

Each credential is a Client ID and Client Secret pair tied to one Service Principal role.

1

Start a new credential

On the Credentials tab, click Add Credential.

The API Credentials page with the Add Credential button highlighted
2

Fill in the credential details

Complete the Add credential dialog, then click Add to generate the credential.

  • Credential name (required) — any name you recognise, for example StackOne Integration.
  • Description (optional) — free text, for example Integration with StackOne.
  • Role — leave the default Service Principal Super Admin, or pick another role. Click Details to see what a role allows.
The Add credential dialog with the Credential name, Description and Role fields and the Add button highlighted

Choose a Service Principal role

The role decides which Sophos Central APIs the credential can call. Service Principal Super
Admin
is the default in the dialog and covers every action in this connector. The Roles tab
on the API Credentials page describes each role, so you can pick a narrower one that matches the
actions you plan to use.

1

Review the available roles

Open the Roles tab to compare the Service Principal roles before you choose one.

  • Service Principal Super Admin — full access to all public APIs. The default, and the safe choice for both read and write actions.
  • Service Principal Management — all currently existing public APIs including endpoint APIs.
  • Service Principal ReadOnly — read access to all public APIs except forensics. Enough when you only use the list and get actions.
  • Service Principal Forensics — access to the Live Discover, Forensic and XDR APIs.
  • Service Principal Directory Sync — limited to Active Directory synchronisation.
  • Service Principal Firewall — limited to the firewall management APIs.
  • Service Principal Audit Log — limited to the audit log APIs.
The Roles tab listing every Service Principal role with its description

Copy the Client ID and Client Secret

Sophos Central opens the API credential summary page as soon as the credential is created.
It also shows Expires on — a Sophos credential stops working 36 months after it is created.
Before that date, create a replacement credential and paste its Client ID and Client Secret into
StackOne Hub, otherwise the connection fails once the old one expires.

1

Copy the Client ID

Click Copy next to Client ID, then paste the value into StackOne Hub.

  • Format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
The API credential summary page with the Client ID Copy button and the Show Client Secret link highlighted
2

Copy the Client Secret

Click Show Client Secret, then click Copy beside the revealed value and paste it
into StackOne Hub.

The API credential summary page after revealing the Client Secret, with a Copy button beside each value
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.