---
updatedAt: 2026-11-04T19:38:41.000Z
agentTools:
  projectIndex: https://docs.censys.com/llms.txt
---

# Service Accounts

You can use Censys Platform service accounts to connect applications with Platform APIs without using a personal user account.

In contrast with <Anchor target="_blank" href="https://docs.censys.com/reference/get-started#step-2-create-a-personal-access-token">Personal Access Tokens</Anchor> and <Anchor target="_blank" href="https://docs.censys.com/docs/platform-connected-applications">Connected Apps</Anchor>, Platform service accounts are managed at the organization level. Service accounts have API access to the module roles you explicitly grant to them. Service accounts do not consume a seat.

Platform service accounts use the <Anchor target="_blank" href="https://oauth.net/2/">OAuth 2 standard</Anchor> client credetials flow. Service accounts do not consume organization user seats.

Service accounts are only available to organizations on the Censys Search or Censys Core plans.

## Create a service account

To create a service account, your account must have the Platform Admin role.

1. In the Censys Platform web console, go to <Anchor target="_blank" href="https://accounts.censys.io/settings/organization/service-accounts">**Organization Settings > Service Accounts**</Anchor>.

2. Click **+ Create service account**.

3. On the New Service Account panel, enter a name for your service account and select the <Anchor target="_blank" href="https://docs.censys.com/docs/role-based-access-control#module-roles">module roles</Anchor> for it. Assign the minimum permissions necessary for the account’s scope. At least one module role is required.

   <Image src="https://files.readme.io/df01a9c616dc1ddbe11e4132ee5e9ddee6bf41d7e174c55c4a379febf3da6656-Screenshot_2026-10-21_at_2.16.47_PM.png" align="center" width="50%" border={true} />

4. Click **Create service account**.

5. Copy the Client Secret and store it in a secure location. It will not be shown again.

   <Image src="https://files.readme.io/a574314a5334de15b7ccdb716253a29510bb38c889795ca08ac14ae9c4b00a9e-Screenshot_2026-10-21_at_2.17.59_PM.png" align="center" width="50%" border={true} />

6. Note the Access Token URL and Client ID. These can be retrieved from the Service Accounts page at any time.

## Use a service account

The configuration process for adding a service account to another app varies. Typically, when configuring an API conection, you must configure OAuth as the authentication type, client credentials as the grant type, and provide your service account's client ID, client secret, and the access token URL.

<Image src="https://files.readme.io/1fa426e3bc8ab85cfdc6d25142eae21e185bcacbef93c19a1f9cebadceda0f83-Screenshot_2026-09-24_at_4.00.35_PM.png" align="center" width="75%" caption="An example connection configuration for SentinelOne showing the configuration parameters to use a Platform service account." />

Some integrations or use-cases require you to manually define the grant type, scope, and audience for a service account. The values for these parameters are provided in the table below.

| Parameter    | Value                            |
| ------------ | -------------------------------- |
| `grant_type` | `client_credentials`             |
| `scope`      | `censys.api`                     |
| `audience`   | `https://api.platform.censys.io` |

### Service accounts and organization ID

Many Censys API endpoints require an organization ID as a query parameter. You may need to configure your organization ID to be passed as a query parameter when using a service account. For use with integrations like the Platform integration with SentinelOne, you can add your organization ID as a global variable that is passed as a query parameter.

To obtain your organization ID:

1. Open the Platform web console and ensure that your organization account is selected. Go to **Settings > Account Management > Personal Access Tokens**.
2. The ID for your organization is shown in the "Current Organization" box. Click **Copy** to copy it to your clipboard.

   <Image src="https://files.readme.io/7987845077501dc8a00bc1730b50ce9c902522d0a164f7f9a62a3d90684a8685-Screenshot_2026-01-22_at_2.27.17_PM.png" align="center" border={true} />

## Service account management

To manage existing sevice accounts, your account must have the Platform Admin role.

1. In the Censys Platform web console, go to <Anchor target="_blank" href="https://accounts.censys.io/settings/organization/service-accounts">**Organization Settings > Service Accounts**</Anchor>.
2. On the row for a service account, click the three-dot menu icon.

   <Image src="https://files.readme.io/21ce4ba3b78dfd0c4a66a4467a4900858cfcd2b07e10f582869400a009b952ed-1235678.png" border={true} />

   * Click the edit icon to change the account's name or module rules.
   * Click the rotate icon to rotate the account's secret. Any existing configuration using the old secret will stop working. Save the new secret in a secure location.
   * Click the trash icon to delete the account.

## Service account activity in the audit log

All service account activity is added to the <Anchor target="_blank" href="https://docs.censys.com/docs/platform-audit-log">audit log</Anchor>.&#x20;

Service account credit usage is not currently visible on the Credit Management page in the Platform web console. However, it can be retrieved via the <Anchor target="_blank" href="https://docs.censys.com/reference/v3-accountmanagement-member-credits-usage">get user credit usage API endpoint</Anchor>.