> ## Documentation Index
> Fetch the complete documentation index at: https://outlit-codex-platform-actions-create-update-cli.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Run provider setup step

> Run a supported follow-up setup step for a connected provider, such as CRM mappings or webhook setup.



## OpenAPI

````yaml /openapi.json post /api/integrations/setup-step
openapi: 3.1.0
info:
  title: Outlit API
  summary: Public Outlit Platform and Ingest APIs.
  description: >-
    Canonical OpenAPI specification for the public Outlit API surfaces
    documented at docs.outlit.ai.
  version: 1.0.0
servers:
  - url: https://app.outlit.ai
security:
  - bearerAuth: []
tags:
  - name: Platform API
    description: >-
      Authenticated API key routes for customer intelligence tools and
      integration management.
  - name: Ingest API
    description: Public-key event ingestion routes used by Outlit SDKs.
paths:
  /api/integrations/setup-step:
    post:
      tags:
        - Platform API
      summary: Run provider setup step
      description: >-
        Run a supported follow-up setup step for a connected provider, such as
        CRM mappings or webhook setup.
      operationId: runIntegrationSetupStep
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IntegrationSetupStepRequest'
      responses:
        '200':
          description: Step-specific setup response.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    IntegrationSetupStepRequest:
      type: object
      required:
        - provider
        - step
      properties:
        provider:
          $ref: '#/components/schemas/ProviderId'
        step:
          type: string
          minLength: 1
          examples:
            - mappings
            - webhooks
        config:
          type: object
          additionalProperties: true
      additionalProperties: false
    ProviderId:
      type: string
      description: Public integration provider ID.
      enum:
        - hubspot
        - attio
        - slack
        - fireflies
        - granola
        - google-calendar
        - google-mail
        - posthog
        - stripe
        - supabase
        - clerk
        - pylon
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/ValidationIssue'
      additionalProperties: true
    ValidationIssue:
      type: object
      required:
        - path
        - message
      properties:
        path:
          type: array
          items:
            type:
              - string
              - number
        message:
          type: string
      additionalProperties: false
  responses:
    BadRequest:
      description: Invalid request body or parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Invalid request
    Unauthorized:
      description: Invalid or missing API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Invalid credentials
    InternalServerError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Internal server error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Outlit API key using the Bearer ok_... format.

````