> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 2. Integration Credentials (API Tokens)

> [!WARNING]
>
> You are viewing the documentation of release 26.1, which is no longer the current one. [Go to the documentation of the current release 26.2](https://developers.circularo.com/).

## API Tokens Overview

API tokens are long-lived authentication credentials designed for secure server-to-server integrations, automated processes, and third-party applications. Unlike regular session tokens, API tokens remain valid for extended periods (10 years by default) and are ideal for scenarios where persistent authentication is required.

### Complete API Token Lifecycle

The scenarios in this section cover the complete lifecycle of API tokens:

* **Creation**: Generate new API tokens for integrations and automated processes
* **Management**: List and audit your active tokens for security monitoring
* **Rotation**: Replace existing tokens with new ones without service interruption
* **Deletion**: Revoke tokens that are no longer needed or may be compromised

### Key Benefits of API Tokens

* **Long-lived authentication**: Valid for 10 years by default, eliminating frequent re-authentication
* **Simplified integration**: Use the same authentication mechanism across all API endpoints
* **Separation of concerns**: Create dedicated tokens for different integrations or services

### Security Best Practices

* Store tokens securely using environment variables or secrets management systems
* Implement regular token rotation as part of your security maintenance
* Audit and revoke unused tokens to minimize your attack surface

### Common Use Cases

* **Scheduled automation**: Background jobs, periodic data synchronization, or batch processing
* **Third-party integrations**: Connecting external systems or services to Circularo

> [!WARNING]
>
> API tokens inherit all permissions from the creating user.

> [!NOTE]
>
> All API token operations can be performed using either a regular session token (obtained via login) or an existing API token with appropriate permissions.

## In this section

> [card] [1. Creating and using API tokens](https://developers.circularo.com/26.1/scenarios/1-authentication-and-security/2-integration-credentials-api-tokens/1-creating-and-using-api-tokens.md)
>
> API tokens are long-lived authentication credentials designed for secure server-to-server integrations, automated processes, and third-party applications.

> [card] [2. Managing and deleting API tokens](https://developers.circularo.com/26.1/scenarios/1-authentication-and-security/2-integration-credentials-api-tokens/2-managing-and-deleting-api-tokens.md)
>
> API tokens provide long-lived authentication for integrations, but proper management is essential for security.

> [card] [3. Rotating API tokens](https://developers.circularo.com/26.1/scenarios/1-authentication-and-security/2-integration-credentials-api-tokens/3-rotating-api-tokens.md)
>
> API token rotation is a security best practice that involves periodically replacing existing tokens with new ones to minimize the risk of compromised credentials.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.