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

# Connections API

> The Connections API provides endpoints for managing connections to external systems such as databases, message queues, email servers, and logging systems. Connections are reusable configurations that can be used by policies and other components.

## Endpoints

### CRUD Operations

* [List Connections](/api-reference/connections/crud/list-connections) - Get all connections for a project
* [Get Connection](/api-reference/connections/crud/get-connection) - Get connection details
* [Create Connection](/api-reference/connections/crud/create-connection) - Create a new connection (general)
* [Update Connection](/api-reference/connections/crud/update-connection) - Update a connection (general)
* [Delete Connection](/api-reference/connections/crud/delete-connection) - Delete a connection

### Connection Types

Each connection type has its own documentation page with complete examples:

* [Email Connection](/api-reference/connections/connections/connection-email)
* [Kafka Connection](/api-reference/connections/connections/connection-kafka)
* [Elasticsearch Connection](/api-reference/connections/connections/connection-elasticsearch)
* [RabbitMQ Connection](/api-reference/connections/connections/connection-rabbitmq)
* [FTP Connection](/api-reference/connections/connections/connection-ftp)
* [Graylog Connection](/api-reference/connections/connections/connection-graylog)
* [Syslog Connection](/api-reference/connections/connections/connection-syslog)
* [Webhook Connection](/api-reference/connections/connections/connection-webhook)
* [Logback Connection](/api-reference/connections/connections/connection-logback)
* [Apache ActiveMQ Connection](/api-reference/connections/connections/connection-activemq)
* [SNMP Connection](/api-reference/connections/connections/connection-snmp)
* [Linux Script Connection](/api-reference/connections/connections/connection-linux-script)
* [Database Connection](/api-reference/connections/connections/connection-database)
* [LDAP Connection](/api-reference/connections/connections/connection-ldap)

## Authentication

All endpoints require authentication using a Personal API Access Token.

## Permissions

### GET Operations (List/Get Connection)

* User must have **`CONNECTIONS` + `VIEW`** permission in the project
* If the asset category does not exist, user must have **at least one permission** in the project

### POST/PUT/DELETE Operations (Create/Update/Delete Connection)

* User must have **`CONNECTIONS` + `MANAGE`** permission in the project

### Permission Requirements

| Operation                       | Required Permission                                                  |
| ------------------------------- | -------------------------------------------------------------------- |
| List/Get Connection             | `CONNECTIONS` + `VIEW` (or any permission if category doesn't exist) |
| Create/Update/Delete Connection | `CONNECTIONS` + `MANAGE`                                             |

## Secret Fields

* **List Operations**: Secret fields (passwords, API keys, etc.) are masked and returned as `null`
* **Get Single Connection**: Secret fields are returned in full
* **Security**: Never commit connection configurations with secrets to version control

## Related Documentation

* [Authentication Guide](/api-reference/getting-started/authentication) - How to obtain and use API tokens
* [Error Handling](/api-reference/getting-started/error-handling) - Error response formats
