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

# Get Delivery Config

> Where finished competitor reports are delivered

Read where finished competitor reports go: email recipients, Slack channel and webhook.

Each channel is delivered on its own, so the others still receive the report when one of them is unavailable.

The `routes` block is who gets which part of the report. Empty means one destination receives
the whole digest. With routes, each destination receives only its own scope: `open_deal`
accounts (a live CRM deal) to an AE channel, `in_crm` accounts (in your CRM, no live deal) to
a CS channel, `not_in_crm` for everything else.

```bash cURL theme={null}
curl https://api.clustr-ai.com/api/public/competitor-monitoring/delivery-config \
  -H "Authorization: Bearer YOUR_API_KEY"
```

```python Python theme={null}
import requests

requests.get(
    "https://api.clustr-ai.com/api/public/competitor-monitoring/delivery-config",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
```

```javascript JavaScript theme={null}
await fetch("https://api.clustr-ai.com/api/public/competitor-monitoring/delivery-config", {
  headers: { Authorization: "Bearer YOUR_API_KEY" },
});
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "email_enabled": true,
    "extra_recipients": ["gtm@yourcompany.com"],
    "slack_enabled": true,
    "slack_channel_id": "C0123456789",
    "webhook_enabled": false,
    "routes": [
      { "scope": "in_crm", "label": "CS team", "slack_enabled": true, "slack_channel_id": "C0CSCHANNEL" },
      { "scope": "open_deal", "label": "AEs", "slack_enabled": true, "slack_channel_id": "C0AECHANNEL" }
    ]
  }
}
```


## OpenAPI

````yaml GET /competitor-monitoring/delivery-config
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /competitor-monitoring/delivery-config:
    get:
      tags:
        - Competitor Monitoring
      summary: Get Delivery Config
      description: >
        Where finished competitor reports are delivered: email, Slack and
        webhook.
      operationId: getCompetitorDeliveryConfig
      responses:
        '200':
          description: The current delivery config
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    additionalProperties: true
        '401':
          description: Invalid or missing API key
        '403':
          description: Competitor monitoring is not enabled for this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            message:
              type: string
              example: Invalid request body
            code:
              type: string
              example: BAD_REQUEST
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

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