> ## Documentation Index
> Fetch the complete documentation index at: https://veridical-dev.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure Integration



## OpenAPI

````yaml /openapi.json post /api/v1/integrations
openapi: 3.1.0
info:
  title: Veridical API
  version: 1.0.0
servers:
  - url: https://api.veridical.dev
security: []
paths:
  /api/v1/integrations:
    post:
      tags:
        - control
      summary: Configure Integration
      operationId: configure_integration_api_v1_integrations_post
      parameters:
        - in: header
          name: Idempotency-Key
          required: false
          schema:
            anyOf:
              - maxLength: 200
                minLength: 8
                type: string
              - type: 'null'
            title: Idempotency-Key
        - in: header
          name: X-Correlation-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Correlation-Id
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationCreate'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response Configure Integration Api V1 Integrations Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    IntegrationCreate:
      properties:
        client_request_id:
          anyOf:
            - maxLength: 200
              minLength: 8
              type: string
            - type: 'null'
          title: Client Request Id
        config:
          additionalProperties: true
          title: Config
          type: object
        credential_ref:
          maxLength: 1000
          minLength: 10
          pattern: ^(gcp-sm|azure-kv|vault)://
          title: Credential Ref
          type: string
        display_name:
          maxLength: 200
          minLength: 1
          title: Display Name
          type: string
        external_id:
          maxLength: 300
          minLength: 1
          title: External Id
          type: string
        provider:
          pattern: ^(slack|teams|jira|linear|confluence|webhook)$
          title: Provider
          type: string
        scopes:
          items:
            type: string
          maxItems: 100
          title: Scopes
          type: array
        state:
          default: active
          pattern: ^(active|disabled)$
          title: State
          type: string
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - workspace_id
        - provider
        - external_id
        - display_name
        - credential_ref
      title: IntegrationCreate
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````