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

# Get integration

> Retrieve the current configuration of your external support panel integration

## Description

Retrieves the current configuration of the integration associated with a Jelou project.

Useful for verifying the integration status, confirming the active webhook URL, or auditing changes made without needing to modify the configuration.

## Endpoint

```
GET https://gateway.jelou.ai/platform/v1/external-support/{projectId}
```

## Path parameters

<ParamField path="projectId" type="string" required>
  Unique identifier of the Jelou project whose integration you want to retrieve.
</ParamField>

## Authentication

All requests must include the `x-api-key` header with your Jelou project API key.

```
x-api-key: API_KEY
```

## Request example

The following example retrieves the integration configured for project `PROJECT_ID`:

```bash cURL theme={null}
curl --request GET \
  --url https://gateway.jelou.ai/platform/v1/external-support/PROJECT_ID \
  --header 'x-api-key: API_KEY'
```

## Responses

| Code | Status                | Description                                           |
| ---- | --------------------- | ----------------------------------------------------- |
| 200  | OK                    | Integration found. Returns the current configuration. |
| 401  | Unauthorized          | Invalid or missing authentication credentials.        |
| 404  | Not Found             | No integration exists for the specified `projectId`.  |
| 500  | Internal Server Error | Internal server error.                                |

## Response example

```json theme={null}
{
  "message": [
    "Integration retrieved successfully"
  ],
  "statusMessage": "success",
  "status": 1,
  "data": {
    "brainId": "PROJECT_ID",
    "webhookUrl": "https://my-system.com/webhook/jelou",
    "createdAt": "2026-01-15T10:30:00.000Z",
    "updatedAt": "2026-01-20T14:45:00.000Z"
  }
}
```

## Response structure

| Property   | Type   | Description                                     |
| ---------- | ------ | ----------------------------------------------- |
| brainId    | string | Unique identifier of the Jelou project.         |
| webhookUrl | string | URL of the endpoint that receives Jelou events. |
| createdAt  | date   | Date and time the integration was created.      |
| updatedAt  | date   | Date and time of the last update.               |


## OpenAPI

````yaml GET /v1/external-support/{projectId}
openapi: 3.1.0
info:
  title: Jelou API
  description: >-
    API for the Jelou platform. Send messages, manage campaigns, handle
    conversations, users, databases, and widgets.
  version: 1.0.0
servers:
  - url: https://api.jelou.ai
    description: Production server
security:
  - basicAuth: []
tags:
  - name: Messages
    description: Send messages to users
  - name: Campaigns
    description: HSM campaigns and templates
  - name: Conversations
    description: Chat history and metrics
  - name: Users
    description: User state and cache management
  - name: Resources
    description: Media resource management
  - name: Datum
    description: Database CRUD operations
  - name: Widget
    description: Widget and room management
  - name: PMA Custom
    description: External support panel integration
paths:
  /v1/external-support/{projectId}:
    servers:
      - url: https://gateway.jelou.ai/platform
        description: External Support Panel API
    get:
      tags:
        - External Support Panel
      summary: Get Integration
      description: >-
        Query the current configuration of an external support panel integration
        associated with a specific project.
      operationId: getExternalSupport
      parameters:
        - name: projectId
          in: path
          required: true
          description: Unique identifier of the Jelou project
          schema:
            type: string
      responses:
        '200':
          description: Integration retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalSupportGetResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      security:
        - apiKey: []
components:
  schemas:
    ExternalSupportGetResponse:
      type: object
      properties:
        id:
          type: string
          example: INTEGRATION_ID
        brainId:
          type: string
          example: BRAIN_ID
        webhookUrl:
          type: string
          example: https://my-system.com/webhook/jelou
        authType:
          type: string
          example: bearer
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
        statusMessage:
          type: string
        status:
          type: integer
        error:
          type: object
          properties:
            code:
              type: string
            key:
              type: string
            description:
              type: string
            developerMessages:
              type: object
            clientMessages:
              type: object
        validationError:
          type: object
  responses:
    Unauthorized:
      description: Unauthorized - Invalid authentication credentials
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Not found - Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Base64 encoded clientId:clientSecret
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key del proyecto de Jelou

````