> ## 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.

# Create Integration Action



## OpenAPI

````yaml /openapi.json post /api/v1/integration-actions
openapi: 3.1.0
info:
  title: Veridical API
  version: 1.0.0
servers:
  - url: https://api.veridical.dev
security: []
paths:
  /api/v1/integration-actions:
    post:
      tags:
        - control
      summary: Create Integration Action
      operationId: create_integration_action_api_v1_integration_actions_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/IntegrationActionCreate'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: >-
                  Response Create Integration Action Api V1 Integration Actions
                  Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    IntegrationActionCreate:
      properties:
        action_type:
          pattern: ^(notify|create_ticket|update_ticket|comment|publish_page)$
          title: Action Type
          type: string
        client_request_id:
          anyOf:
            - maxLength: 200
              minLength: 8
              type: string
            - type: 'null'
          title: Client Request Id
        destination:
          maxLength: 500
          minLength: 1
          title: Destination
          type: string
        integration_id:
          title: Integration Id
          type: string
        payload:
          additionalProperties: true
          title: Payload
          type: object
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - workspace_id
        - integration_id
        - action_type
        - destination
        - payload
      title: IntegrationActionCreate
      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

````