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

# Update Integration

> Update an integration



## OpenAPI

````yaml /public-apis/openapi/integrations.json put /v1/integrations
openapi: 3.0.0
info:
  version: 1.0.0
  contact:
    name: Maxim Engineering
    email: eng@getmaxim.ai
  title: Maxim SDK API - integrations
  description: API documentation for Maxim SDK integrations endpoints
servers:
  - url: https://api.getmaxim.ai
security: []
paths:
  /v1/integrations:
    put:
      tags:
        - Integration
      summary: Update Integration
      description: Update an integration
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workspaceId:
                  type: string
                  description: Unique identifier for the workspace
                id:
                  type: string
                  description: Unique identifier for the integration
                type:
                  type: string
                  enum:
                    - SLACK
                    - PAGER_DUTY
                  description: Type of integration)
                name:
                  type: string
                  description: Name of the integration
                config:
                  type: object
                  properties:
                    name:
                      type: string
                      description: Optional name for the integration config
                    routingKey:
                      type: string
                      description: PagerDuty routing key
                    webhookName:
                      type: string
                      description: Slack webhook name
                    webhookUrl:
                      type: string
                      description: Slack webhook URL
                    dedupKey:
                      type: string
                      description: Optional deduplication key for PagerDuty alerts
                  description: Integration-specific configuration
              required:
                - workspaceId
                - type
                - name
                - config
      responses:
        '200':
          description: Integration updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Unique identifier for the notification channel
                      type:
                        type: string
                        enum:
                          - SLACK
                          - PAGER_DUTY
                        description: Type of notification channel.
                      name:
                        type: string
                        description: Name of the notification channel
                      config:
                        type: object
                        additionalProperties:
                          nullable: true
                        description: Channel-specific configuration
                    required:
                      - id
                      - type
                      - name
                      - config
                required:
                  - data
        '400':
          description: Invalid request parameters
        '404':
          description: Integration not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-maxim-api-key
      description: API key for authentication

````