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

# Update integration settings

> Updates settings for the Linear, Jira or Slack integration. For Linear and Jira, set `issue_label_enabled` and `issue_label_name` to add a label to each issue that Strix creates. For Slack, any channel id set on `slack_default_channel_id` or `slack_channel_groups` must be one Strix can post to: public channels are joined automatically, private channels need @Strix invited first. Personal tokens must belong to an organization administrator (parity with the dashboard).



## OpenAPI

````yaml /openapi.json patch /integrations/{provider}/settings
openapi: 3.1.0
info:
  title: Strix API
  version: 1.0.0
  description: >-
    Public REST API for the Strix autonomous penetration testing platform.
    Manage scans, vulnerabilities, assets, schedules, API tokens, and webhooks.
servers:
  - url: /api/v1
    description: Strix v1 API
security:
  - BearerAuth: []
tags:
  - name: Scans
    description: Launch, monitor, and manage security scans.
  - name: Vulnerabilities
    description: View and triage discovered vulnerabilities.
  - name: Assets
    description: Domains and repositories registered for scanning.
  - name: Schedules
    description: Recurring scan schedules (Pro plan).
  - name: Search
    description: Search across issues, pentests, PR reviews, chats, assets and schedules.
  - name: Tokens
    description: Manage API tokens for authentication.
  - name: Webhooks
    description: Configure webhook subscriptions for real-time event notifications.
  - name: Organization
    description: Workspace configuration for the authenticated organization.
  - name: Members
    description: Manage organization members and roles.
  - name: Invitations
    description: List and revoke organization invitations.
  - name: PR Reviews
    description: Automated security review of pull requests.
  - name: Connectors
    description: Network connectors for scanning internal/private targets.
  - name: Knowledge
    description: >-
      Organization knowledge base: documents, policies, and repo profiles that
      steer the agent.
  - name: Uploads
    description: Upload source/code/documentation archives for whitebox scans.
  - name: Integrations
    description: Third-party integrations (GitLab, Bitbucket, ticketing).
  - name: Chat
    description: Conversational agent sessions.
  - name: Analytics
    description: Aggregate dashboard analytics.
  - name: Test Users
    description: >-
      Per-domain test accounts (with optional MFA) the agent authenticates as
      during scans.
  - name: License
    description: Self-hosted license state, entitlements, and aggregate usage.
  - name: Supply Chain
    description: >-
      SBOM inventory, supply-chain findings, scans, and policy for connected
      repositories.
  - name: CLI
    description: >-
      Device authorization endpoints that let the Strix CLI and coding agents
      sign in and receive an API token.
  - name: Billing
    description: Credit balance, agent-payable top-ups, and automatic top-up settings.
  - name: Workspaces
    description: List, create, and switch workspaces.
  - name: Asset Discovery
    description: >-
      Passive reconnaissance runs that map the organization's external attack
      surface, and the discovered-asset inventory they fill.
  - name: Containers
    description: >-
      Container registries, tracked images, image scans, findings, and SBOM
      components.
  - name: Run Logs
    description: Persisted engine logs and the diagnostics bundle of a self-hosted install.
paths:
  /integrations/{provider}/settings:
    patch:
      tags:
        - Integrations
      summary: Update integration settings
      description: >-
        Updates settings for the Linear, Jira or Slack integration. For Linear
        and Jira, set `issue_label_enabled` and `issue_label_name` to add a
        label to each issue that Strix creates. For Slack, any channel id set on
        `slack_default_channel_id` or `slack_channel_groups` must be one Strix
        can post to: public channels are joined automatically, private channels
        need @Strix invited first. Personal tokens must belong to an
        organization administrator (parity with the dashboard).
      operationId: updateIntegrationSettings
      parameters:
        - name: provider
          in: path
          required: true
          description: Integration provider.
          schema:
            type: string
            enum:
              - linear
              - jira
              - slack
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/TicketingIntegrationSettingsUpdate'
                - $ref: '#/components/schemas/SlackIntegrationSettingsUpdate'
      responses:
        '200':
          description: >-
            Updated integration settings (Linear, Jira) or `{"success": true}`
            (Slack).
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/TicketingIntegrationSettings'
                  - type: object
                    properties:
                      success:
                        type: boolean
                        enum:
                          - true
                    required:
                      - success
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - BearerAuth:
            - integrations:write
components:
  schemas:
    TicketingIntegrationSettingsUpdate:
      type: object
      description: Updates for a Linear or Jira integration.
      properties:
        auto_sync_enabled:
          type: boolean
          description: Enable automatic issue creation for new findings.
        issue_label_enabled:
          type: boolean
          description: Add the configured label to each issue that Strix creates.
        issue_label_name:
          type: string
          minLength: 1
          maxLength: 80
          description: Label name to add to each issue that Strix creates.
        auto_sync_min_severity:
          type: string
          enum:
            - critical
            - high
            - medium
            - low
          description: Minimum severity that triggers automatic issue creation.
        auto_sync_sources:
          type: array
          minItems: 1
          uniqueItems: true
          items:
            type: string
            enum:
              - scan
              - supply_chain
          description: >-
            Finding sources that auto-sync creates tickets for (at least one):
            `scan` (pentest findings) and/or `supply_chain` (dependency CVEs).
            Set `auto_sync_enabled` to false to stop all auto-sync. Manual,
            bulk, and API pushes ignore this.
        auto_sync_reachability:
          type: string
          enum:
            - all
            - reachable_only
          description: >-
            Which dependency findings auto-create tickets. `all` (the default)
            tickets every dependency finding; `reachable_only` tickets only the
            findings whose reachability verdict is `reachable`; findings marked
            `not_reachable` or `not_applicable`, and findings still waiting for
            a verdict, get no ticket. Pentest findings ignore this. Manual,
            bulk, and API pushes ignore this.
        default_collection_id:
          type:
            - string
            - 'null'
          description: Default Jira project or Linear team identifier.
        default_collection_name:
          type:
            - string
            - 'null'
          description: Default Jira project or Linear team name.
        default_ticket_type:
          type:
            - string
            - 'null'
          description: Default Jira issue type.
        jira_field_values:
          type: object
          additionalProperties: true
          description: Jira required field values for the default project.
        repository_routes:
          type: array
          description: >-
            Destination for each routed repository. Applies to Linear and Jira.
            This array replaces the stored repository routes: a repository that
            is not in the array loses its route. Send `collection_id` (the older
            `project_id` name is still accepted). For Jira, `ticket_type` and
            `jira_field_values` are optional and Strix rejects a route that
            misses a required field. Administrators only.
          items:
            type: object
            properties:
              repository_id:
                type: string
                description: Repository identifier.
              collection_id:
                type: string
                description: >-
                  Linear team or project identifier, or Jira project identifier.
                  Required unless `project_id` is set.
              collection_name:
                type:
                  - string
                  - 'null'
                description: Destination name.
              project_id:
                type: string
                description: Older name for `collection_id`. Send `collection_id` instead.
                deprecated: true
              project_name:
                type:
                  - string
                  - 'null'
                description: >-
                  Older name for `collection_name`. Send `collection_name`
                  instead.
                deprecated: true
              ticket_type:
                type:
                  - string
                  - 'null'
                description: >-
                  Jira issue type for this route. Linear routes must leave this
                  null.
              jira_field_values:
                type: object
                additionalProperties: true
                description: >-
                  Jira required field values for this route, keyed by field.
                  Each value is `{ value, label }`. Linear routes must leave
                  this empty.
            required:
              - repository_id
            anyOf:
              - required:
                  - collection_id
              - required:
                  - project_id
        source_routes:
          type: object
          description: >-
            The destination for each finding source, keyed by `scan` (pentests),
            `pr_review`, and `supply_chain`. Applies to Linear and Jira. This
            object replaces the stored routes. To use the default destination
            for a source, set the key to `null` or leave the key out. Resolution
            order on a push: explicit destination on the push request, then
            repository route, then source route, then the default destination.
          properties:
            scan:
              oneOf:
                - $ref: '#/components/schemas/TicketingSourceRoute'
                - type: 'null'
            pr_review:
              oneOf:
                - $ref: '#/components/schemas/TicketingSourceRoute'
                - type: 'null'
            supply_chain:
              oneOf:
                - $ref: '#/components/schemas/TicketingSourceRoute'
                - type: 'null'
          additionalProperties: false
        default_assignee_id:
          type:
            - string
            - 'null'
          description: >-
            Provider user ID for the default assignee (see `GET
            /integrations/{provider}/users`). Strix checks the user with the
            provider. Set `null` to clear.
        title_template:
          type:
            - string
            - 'null'
          maxLength: 500
          description: >-
            Ticket title template. Unknown placeholders are rejected. Set `null`
            to use `{{title}}`.
        description_template:
          type:
            - string
            - 'null'
          maxLength: 20000
          description: >-
            Ticket description template. Unknown placeholders are rejected. Set
            `null` to use `{{details}}`.
        group_by_pentest:
          type: boolean
          description: >-
            Create one Linear project or Jira Epic per pentest and file its
            tickets under it.
        jira_priority_map:
          type:
            - object
            - 'null'
          description: >-
            Jira only. Maps severities (`critical`, `high`, `medium`, `low`) to
            `{ id }` (the Jira priority ID, from `GET
            /integrations/{provider}/priorities`) or `null`. Send `null` to
            disable. Rejected for Linear. Administrators only.
        due_date_days:
          type:
            - object
            - 'null'
          description: >-
            Maps severities to a whole number of days (1-365) after creation for
            the due date, or `null` per severity. Send `null` to disable.
            Applies to Linear and Jira; new tickets only. Administrators only.
    SlackIntegrationSettingsUpdate:
      type: object
      description: >-
        Updates for the Slack integration. Every field is optional; at least one
        is required.
      properties:
        slack_default_channel_id:
          type:
            - string
            - 'null'
          description: >-
            Channel id for notifications without a group override. Null clears
            it.
        slack_channel_groups:
          type: object
          description: >-
            Slack channel id per notification group. A group without a channel
            posts to `slack_default_channel_id`. Set a group to null or omit it
            to clear the override.
          properties:
            pentests:
              type:
                - string
                - 'null'
              description: Pentest started, pentest completed and new pentest findings.
            supply_chain:
              type:
                - string
                - 'null'
              description: Dependency findings and malicious package alerts.
            containers:
              type:
                - string
                - 'null'
              description: Container scan completed and container findings.
            deadlines:
              type:
                - string
                - 'null'
              description: Remediation deadline digest.
            pr_reviews:
              type:
                - string
                - 'null'
              description: PR reviews that finish with findings or fail.
          additionalProperties: false
        slack_notify_severities:
          type: array
          items:
            type: string
            enum:
              - critical
              - high
              - medium
              - low
          uniqueItems: true
        slack_notify_scan_started:
          type: boolean
        slack_notify_scan_complete:
          type: boolean
        slack_notify_status_change:
          type: boolean
        slack_notify_dependency_findings:
          type: boolean
        slack_notify_supply_chain_malicious:
          type: boolean
          description: Requires supply chain access on the organization.
        slack_notify_pr_review_findings:
          type: boolean
          description: Notify Slack when a PR review finishes with findings.
        slack_notify_pr_review_failures:
          type: boolean
          description: Notify Slack when a PR review fails.
      minProperties: 1
      additionalProperties: false
    TicketingIntegrationSettings:
      type: object
      description: Ticketing settings for a Linear or Jira integration.
      properties:
        id:
          type: string
        provider:
          type: string
          enum:
            - linear
            - jira
        status:
          type: string
        status_detail:
          type:
            - string
            - 'null'
        auto_sync_enabled:
          type: boolean
        issue_label_enabled:
          type: boolean
        issue_label_name:
          type: string
        auto_sync_min_severity:
          type: string
          enum:
            - critical
            - high
            - medium
            - low
        auto_sync_sources:
          type: array
          minItems: 1
          uniqueItems: true
          items:
            type: string
            enum:
              - scan
              - supply_chain
          description: >-
            Finding sources that auto-sync creates tickets for: `scan` (pentest
            findings) and `supply_chain` (dependency CVEs). PR-review findings
            never auto-sync. Manual, bulk, and API pushes ignore this.
        auto_sync_reachability:
          type: string
          enum:
            - all
            - reachable_only
          description: >-
            Which dependency findings auto-create tickets. `all` (the default)
            tickets every dependency finding; `reachable_only` tickets only the
            findings whose vulnerable code the scan proved runs. Pentest
            findings ignore this.
        default_collection_id:
          type:
            - string
            - 'null'
        default_collection_name:
          type:
            - string
            - 'null'
        default_ticket_type:
          type:
            - string
            - 'null'
        jira_field_values:
          type: object
          additionalProperties: true
        source_routes:
          $ref: '#/components/schemas/TicketingSourceRoutes'
        default_assignee_id:
          type:
            - string
            - 'null'
          description: >-
            Provider user ID that new tickets are assigned to. Linear: user ID.
            Jira Cloud: `accountId`. Jira Server: username. `null` leaves
            tickets unassigned.
        default_assignee_name:
          type:
            - string
            - 'null'
          description: Display name of the default assignee.
        title_template:
          type:
            - string
            - 'null'
          description: >-
            Template for the ticket title. Placeholders use `{{name}}`: `title`,
            `severity`, `cve`, `cvss`, `target`, `endpoint`, `repository`,
            `pentest`, `source`, `strix_url`, `details`. `null` means
            `{{title}}`.
        description_template:
          type:
            - string
            - 'null'
          description: >-
            Template for the ticket description. Same placeholders as
            `title_template`. `null` means `{{details}}`.
        group_by_pentest:
          type: boolean
          description: >-
            When true, Strix creates one grouping object per pentest and files
            its tickets under it: a Linear project in the destination team, or a
            Jira Epic in the destination project.
        jira_priority_map:
          type:
            - object
            - 'null'
          description: >-
            Jira only: maps each severity (`critical`, `high`, `medium`, `low`)
            to a Jira priority `{ id, name }` or `null` (Jira's default). `null`
            disables the mapping; Linear priority always follows severity.
        due_date_days:
          type:
            - object
            - 'null'
          description: >-
            Maps each severity to a whole number of days (1-365) after ticket
            creation for the due date, or `null` (no due date). `null` disables.
            Applies to Linear and Jira; a snooze date always wins.
        repositories:
          type: array
          description: >-
            Connected repositories that a repository route can target. Present
            for administrators and service tokens.
          items:
            type: object
            properties:
              id:
                type: string
                description: Repository identifier.
              full_name:
                type: string
                description: Repository full name, for example `acme/api`.
              provider:
                type: string
                description: Source control provider.
            required:
              - id
              - full_name
              - provider
        repository_routes:
          type: array
          description: >-
            Ticket destination for each routed repository. Present for
            administrators and service tokens.
          items:
            $ref: '#/components/schemas/TicketingRepositoryRoute'
        created_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - id
        - provider
        - status
        - status_detail
        - auto_sync_enabled
        - issue_label_enabled
        - issue_label_name
        - auto_sync_min_severity
        - auto_sync_sources
        - auto_sync_reachability
        - default_collection_id
        - default_collection_name
        - default_ticket_type
        - jira_field_values
        - created_at
    TicketingSourceRoute:
      type: object
      description: >-
        Destination that receives tickets for one routing rule. For Linear, the
        destination is a team or a project. For Jira, the destination is a
        project with an optional issue type and required field values.
      properties:
        collection_id:
          type: string
          description: Linear team or project identifier, or Jira project identifier.
        collection_name:
          type:
            - string
            - 'null'
          description: Destination name.
        ticket_type:
          type:
            - string
            - 'null'
          description: >-
            Jira issue type for this rule. If null, Strix uses the project
            default. Always null for Linear.
        jira_field_values:
          type: object
          additionalProperties: true
          description: >-
            Jira required field values for this rule, keyed by field. Each value
            is `{ value, label }`. Always empty for Linear.
      required:
        - collection_id
    TicketingSourceRoutes:
      type: object
      description: >-
        The destination for each finding source, keyed by `scan` (pentests),
        `pr_review`, and `supply_chain`. Applies to Linear and Jira. If a key is
        missing, Strix uses the default destination for that source. A
        repository route has priority over a source route.
      properties:
        scan:
          $ref: '#/components/schemas/TicketingSourceRoute'
        pr_review:
          $ref: '#/components/schemas/TicketingSourceRoute'
        supply_chain:
          $ref: '#/components/schemas/TicketingSourceRoute'
      additionalProperties: false
    TicketingRepositoryRoute:
      type: object
      description: >-
        Destination for findings from one repository. A repository route has
        priority over a source route.
      allOf:
        - $ref: '#/components/schemas/TicketingSourceRoute'
        - type: object
          properties:
            repository_id:
              type: string
              description: Repository identifier.
            project_id:
              type: string
              description: Same value as `collection_id`. Deprecated, read `collection_id`.
              deprecated: true
            project_name:
              type:
                - string
                - 'null'
              description: >-
                Same value as `collection_name`. Deprecated, read
                `collection_name`.
              deprecated: true
          required:
            - repository_id
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable explanation of the error.
        code:
          type: string
          description: >-
            Stable machine-readable error code. `insufficient_scope` means the
            token does not hold the scope that this endpoint requires.
        required_scope:
          $ref: '#/components/schemas/ApiV1Scope'
          description: >-
            Scope that the caller must add to the token. Returned with the
            `insufficient_scope` code.
        docs:
          type: string
          format: uri
          description: Documentation page that explains how to resolve the error.
        hint:
          type: string
          description: >-
            One instruction that resolves the error. For `insufficient_scope`, a
            CLI session gets the `strix cloud session scopes set full` or `strix
            cloud login --scope-profile full` command, and an API token gets the
            settings page where the user creates a token with the scope. When
            the owner's role cannot hold the scope, the hint asks for a role
            change instead.
      required:
        - detail
    ApiV1Scope:
      type: string
      enum:
        - scans:read
        - scans:write
        - vulnerabilities:read
        - vulnerabilities:write
        - dependencies:read
        - schedules:read
        - schedules:write
        - assets:read
        - assets:write
        - organizations:read
        - organizations:write
        - members:read
        - members:write
        - invitations:read
        - invitations:write
        - webhooks:read
        - webhooks:write
        - tokens:write
        - audit:read
        - pr_reviews:read
        - pr_reviews:write
        - connectors:read
        - connectors:write
        - knowledge:read
        - knowledge:write
        - uploads:write
        - integrations:read
        - integrations:write
        - chat:read
        - chat:write
        - scans:message
        - analytics:read
        - llm:read
        - llm:write
        - test_users:read
        - test_users:write
        - discovery:read
        - discovery:write
        - license:read
        - supply_chain:read
        - supply_chain:write
        - billing:read
        - billing:write
        - containers:read
        - containers:write
        - logs:read
  responses:
    BadRequest:
      description: Bad request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: >-
        Insufficient permissions or missing scope. A missing scope returns the
        `insufficient_scope` code, the `required_scope` field, and a `hint` with
        the command or page that grants the scope, so a client can request the
        correct scope and retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API token obtained from the Tokens endpoint or CLI device login. Include
        as `Authorization: Bearer <token>`. Requests made with a managed CLI
        session also include `X-Strix-Workspace: <organization_id>` to pin a
        process to the workspace it started in; recovery endpoints report the
        current workspace after a concurrent switch.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.