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

# List shared integration routes into a channel

> List every shared integration whose route delivers into a collaboration space, with the branches that match it.

## Restrictions

| Aspect | Value |
| - | - |
| Rate limits | **1,000 requests/minute**; **50 requests/second** per account |
| Permissions | **Channels Read** (`on-call`) or **Channels Manage** (`on-call`) or **Integrations Read** (`on-call`) |

## Usage

* The caller must be able to read the queried collaboration space; a private channel the caller is not a member of returns `AccessDenied`.
* `matched` and `other_cases` together cover every case of the route: `other_cases` are the standard cases that deliver elsewhere, exposed without their target channels so the caller cannot see where the hidden branch delivers. The default route, when it delivers into this channel, appears in `matched` and is not counted in `total_cases`.
* `unreachable_by` flags a case that can never fire because an earlier case always matches first — useful when explaining why a rule silently wins.
* An integration whose route delivers into several channels appears once per channel it is queried for, showing only that channel's branches.


## OpenAPI

````yaml /api-reference/on-call.openapi.en.json post /channel/inbound-route/list
openapi: 3.1.0
info:
  title: Flashduty Open API
  description: >-
    Public HTTP API for the Flashduty incident management platform — incidents,
    notification templates, channels, schedules, monitors, RUM, and platform
    administration. Every operation is authenticated with an `app_key` query
    parameter created in the Flashduty console under My → APP Key (or sent in
    the `Fd-App-Key` header). Responses follow a uniform envelope: `{
    request_id, data }` on success, `{ request_id, error }` on failure.
  version: 1.0.0
servers:
  - url: https://api.flashcat.cloud
    description: Flashduty Open API
security:
  - AppKeyAuth: []
tags:
  - name: On-call/Incidents
    description: ''
  - name: On-call/Channels
    description: ''
  - name: On-call/Alerts
    description: >-
      Search, inspect, and act on alerts. Manage card views and alert processing
      pipelines.
  - name: On-call/Integrations
    description: ''
  - name: On-call/IM integrations
    description: IM integration queries, such as which integrations have war room enabled.
  - name: On-call/Schedules
    description: ''
  - name: On-call/Licenses
    description: ''
  - name: On-call/Calendars
    description: ''
  - name: On-call/Notification templates
    description: ''
  - name: On-call/Alert enrichment
    description: Custom fields, enrichment rules, and data mapping (schema, data, API).
  - name: On-call/Analytics
    description: ''
  - name: On-call/Status pages
    description: ''
  - name: On-call/Changes
    description: ''
  - name: On-call/Dedicated integrations
    description: Manage alert integrations owned by individual channels.
paths:
  /channel/inbound-route/list:
    post:
      tags:
        - On-call/Channels
      summary: List shared integration routes into a channel
      description: >-
        List every shared integration whose route delivers into a collaboration
        space, with the branches that match it.
      operationId: channel-inbound-route-read-list
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundRouteListRequest'
            example:
              channel_id: 5001
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/SuccessEnvelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/ListInboundRoutesResponse'
              example:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                data:
                  items:
                    - integration_id: 362
                      integration_name: Prometheus Prod
                      plugin_type: prometheus
                      plugin_type_name: Prometheus
                      integration_status: enabled
                      route_version: 12
                      route_updated_at: 1716958800
                      total_cases: 2
                      matched:
                        - kind: case
                          index: 0
                          if:
                            and:
                              - key: severity
                                oper: in
                                values:
                                  - Critical
                          fallthrough: false
                          match_type: static
                          channel_ids:
                            - 5001
                          channels:
                            - channel_id: 5001
                              channel_name: Production
                              status: enabled
                      other_cases:
                        - index: 1
                          fallthrough: false
                          if:
                            and:
                              - key: team
                                oper: '=='
                                values:
                                  - payments
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    InboundRouteListRequest:
      type: object
      required:
        - channel_id
      properties:
        channel_id:
          type: integer
          format: int64
          description: >-
            Collaboration space whose incoming shared-integration routes to
            list.
    SuccessEnvelope:
      type: object
      description: >-
        Success response envelope. On every 2xx response, `request_id`
        identifies the call (also mirrored in the `Flashcat-Request-Id` header)
        and `data` holds the endpoint-specific payload. Failure responses use a
        different shape — see `ErrorResponse`.
      properties:
        request_id:
          type: string
          description: >-
            Unique ID for this request. Mirrored in the Flashcat-Request-Id
            response header. Include it when reporting issues.
          example: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
        data:
          description: >-
            Operation-specific payload, documented in each operation's 200
            response. Operations without a payload return `{}` or omit `data`
            entirely.
      required:
        - request_id
    ListInboundRoutesResponse:
      type: object
      required:
        - items
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/InboundRouteItem'
          description: >-
            Shared integrations with at least one branch delivering into the
            channel; empty when nothing delivers into it.
    InboundRouteItem:
      type: object
      description: >-
        A shared integration whose route can deliver alerts into the queried
        channel.
      required:
        - integration_id
        - integration_name
        - plugin_type
        - plugin_type_name
        - integration_status
        - route_version
        - route_updated_at
        - total_cases
        - matched
        - other_cases
      properties:
        integration_id:
          type: integer
          format: int64
          description: Shared integration (data source) ID.
        integration_name:
          type: string
          description: Shared integration name.
        plugin_type:
          type: string
          description: Integration plugin type, for example `prometheus`.
        plugin_type_name:
          type: string
          description: Display name of the plugin type in the caller's locale.
        integration_status:
          type: string
          description: Integration status, `enabled` or `disabled`.
        route_version:
          type: integer
          format: int64
          description: Version of the integration's route configuration.
        route_updated_at:
          type: integer
          format: int64
          description: >-
            Unix timestamp in seconds of the last change to the route
            configuration.
        total_cases:
          type: integer
          description: Number of conditional cases the route has, default route excluded.
        matched:
          type: array
          items:
            $ref: '#/components/schemas/InboundRouteBranch'
          description: >-
            Branches that deliver into the queried channel, including the
            default route when it does.
        other_cases:
          type: array
          items:
            $ref: '#/components/schemas/InboundRouteOtherCase'
          description: >-
            Conditional cases that do not deliver into the queried channel;
            together with `matched` they cover every case.
    ErrorResponse:
      type: object
      description: Response envelope for errors. `error` is required; `data` is absent.
      properties:
        request_id:
          type: string
          example: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
          description: >-
            Unique trace ID of this request; include it when reporting issues so
            logs can be located.
        error:
          $ref: '#/components/schemas/DutyError'
      required:
        - request_id
        - error
    InboundRouteBranch:
      type: object
      description: >-
        A branch of a shared integration's route that delivers into the queried
        channel.
      required:
        - kind
        - fallthrough
        - match_type
        - channels
      properties:
        kind:
          type: string
          enum:
            - case
            - default
          description: 'Branch kind: `case` a conditional case, `default` the default route.'
        index:
          type: integer
          description: Zero-based case index; omitted for the default route.
        if:
          type: object
          additionalProperties: true
          description: >-
            The case's match condition as stored on the route (the filter tree
            that decides which alerts the case matches); omitted for the default
            route.
        fallthrough:
          type: boolean
          description: >-
            Whether the case keeps matching later cases after it matches,
            instead of stopping at the first match.
        routing_mode:
          type: string
          enum:
            - standard
            - name_mapping
          description: >-
            How the case picks its target: `standard` routes by the case's own
            channels, `name_mapping` maps an alert label to a channel name.
            Omitted when `standard`.
        name_mapping_label:
          type: string
          description: >-
            Alert label whose value names the target channel in `name_mapping`
            mode; omitted otherwise.
        match_type:
          type: string
          enum:
            - static
            - dynamic
          description: >-
            How the branch's channel list is resolved: `static` fixed channel
            IDs, `dynamic` resolved when an alert arrives.
        channel_ids:
          type: array
          items:
            type: integer
            format: int64
            description: Collaboration space ID.
          description: >-
            Collaboration spaces the branch delivers to, before names are
            resolved; omitted when empty.
        channels:
          type: array
          items:
            $ref: '#/components/schemas/ChannelShort'
          description: Collaboration spaces the branch delivers to, with their names.
        unreachable_by:
          type: integer
          description: >-
            Index of an earlier case that always matches whenever this one
            would, so this case never fires; omitted when the case is reachable
            or reachability cannot be proven. Never set on the default route.
    InboundRouteOtherCase:
      type: object
      description: >-
        A standard case of the route that does not deliver into the queried
        channel.
      required:
        - index
        - fallthrough
        - if
      properties:
        index:
          type: integer
          description: Zero-based case index.
        fallthrough:
          type: boolean
          description: Whether the case keeps matching later cases after it matches.
        if:
          type: object
          additionalProperties: true
          description: >-
            The case's match condition, exposed so a client can build the
            NOT-chain; the channels a hidden branch delivers to are deliberately
            left out.
    DutyError:
      type: object
      description: >-
        Error payload inside the response envelope. Present only on non-2xx
        responses.
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
          description: >-
            Human-readable error message in the response language (`locale` /
            `lang` query parameter or `Accept-Language` header). May name the
            offending field; do not parse it.
          example: The specified parameter template_id is not valid.
      required:
        - code
        - message
    ChannelShort:
      type: object
      required:
        - channel_id
        - channel_name
      properties:
        channel_id:
          type: integer
          format: int64
          description: Channel ID, one of the requested `channel_ids`.
        channel_name:
          type: string
          description: Channel name, unique within the account.
        status:
          type: string
          enum:
            - enabled
            - disabled
            - deleted
          description: |-
            Channel status:
            - `enabled`: incoming alert events are processed.
            - `disabled`: incoming alert events are discarded.
            - `deleted`: the channel was deleted.
    ErrorCode:
      type: string
      description: >-
        Error code. Every failed response sets `error.code` to one of these
        stable strings; branch on it rather than on the HTTP status.


        | Code | HTTP | Meaning |

        |---|---|---|

        | `OK` | 200 | Reserved; never returned on a failed request. |

        | `InvalidParameter` | 400 | A parameter is missing, has the wrong type,
        or failed validation; `message` usually names the field. |

        | `BadRequest` | 400 | The request breaks a business rule or conflicts
        with the current state of an object; `message` says which. |

        | `InvalidContentType` | 400 | The body is not sent as
        `application/json`. |

        | `ResourceNotFound` | 400 | The referenced object does not exist in
        this account or was deleted. Returned as HTTP 400, not 404. |

        | `NoLicense` | 400 | The account's plan does not include the feature, a
        plan quota is used up, the plan has expired, or credits are
        insufficient. |

        | `ReferenceExist` | 400 | The object is still referenced by other
        objects, so it cannot be deleted. |

        | `Unauthorized` | 401 | The APP Key is missing, invalid, or deleted. |

        | `BalanceNotEnough` | 402 | Console-only (billing); not returned by
        Open API operations. |

        | `AccessDenied` | 403 | The APP Key's permission scope or the creator's
        role does not allow this operation or object. |

        | `RouteNotFound` | 404 | No operation matches the HTTP method and path.
        |

        | `MethodNotAllowed` | 405 | The path exists but not for this HTTP
        method. |

        | `UndonedOrderExist` | 409 | Console-only (billing); not returned by
        Open API operations. |

        | `EntityTooLarge` | 413 | The request body exceeds the size limit. |

        | `RequestLocked` | 423 | Console-only (sign-in protection); not
        returned by Open API operations. |

        | `RequestVerifyRequired` | 428 | Console-only (verification code); not
        returned by Open API operations. |

        | `DangerousOperation` | 428 | Console-only (MFA for high-risk actions);
        not returned by Open API operations. |

        | `RequestTooFrequently` | 429 | A rate limit was hit; wait for the
        `Flashcat-Request-Rate-Limit-Delay` response header (seconds) before
        retrying. |

        | `InternalError` | 500 | Unexpected server error; retry with backoff
        and include `request_id` when reporting. |

        | `ServiceUnavailable` | 503 | A backend dependency is overloaded or
        unavailable; retry with backoff. |
      enum:
        - OK
        - InvalidParameter
        - BadRequest
        - InvalidContentType
        - ResourceNotFound
        - NoLicense
        - ReferenceExist
        - Unauthorized
        - BalanceNotEnough
        - AccessDenied
        - RouteNotFound
        - MethodNotAllowed
        - UndonedOrderExist
        - EntityTooLarge
        - RequestLocked
        - RequestVerifyRequired
        - DangerousOperation
        - RequestTooFrequently
        - InternalError
        - ServiceUnavailable
      x-enumDescriptions:
        OK: Reserved; never returned on a failed request.
        InvalidParameter: >-
          A parameter is missing, has the wrong type, or failed validation;
          `message` usually names the field.
        BadRequest: >-
          The request breaks a business rule or conflicts with the current state
          of an object; `message` says which.
        InvalidContentType: The body is not sent as `application/json`.
        ResourceNotFound: >-
          The referenced object does not exist in this account or was deleted.
          Returned as HTTP 400, not 404.
        NoLicense: >-
          The account's plan does not include the feature, a plan quota is used
          up, the plan has expired, or credits are insufficient.
        ReferenceExist: >-
          The object is still referenced by other objects, so it cannot be
          deleted.
        Unauthorized: The APP Key is missing, invalid, or deleted.
        BalanceNotEnough: Console-only (billing); not returned by Open API operations.
        AccessDenied: >-
          The APP Key's permission scope or the creator's role does not allow
          this operation or object.
        RouteNotFound: No operation matches the HTTP method and path.
        MethodNotAllowed: The path exists but not for this HTTP method.
        UndonedOrderExist: Console-only (billing); not returned by Open API operations.
        EntityTooLarge: The request body exceeds the size limit.
        RequestLocked: >-
          Console-only (sign-in protection); not returned by Open API
          operations.
        RequestVerifyRequired: Console-only (verification code); not returned by Open API operations.
        DangerousOperation: >-
          Console-only (MFA for high-risk actions); not returned by Open API
          operations.
        RequestTooFrequently: >-
          A rate limit was hit; wait for the `Flashcat-Request-Rate-Limit-Delay`
          response header (seconds) before retrying.
        InternalError: >-
          Unexpected server error; retry with backoff and include `request_id`
          when reporting.
        ServiceUnavailable: A backend dependency is overloaded or unavailable; retry with backoff.
      example: InvalidParameter
  responses:
    BadRequest:
      description: Invalid request — usually a missing or malformed parameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingParameter:
              value:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                error:
                  code: InvalidParameter
                  message: The specified parameter is not valid.
    Unauthorized:
      description: Missing or invalid app_key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingAppKey:
              value:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                error:
                  code: Unauthorized
                  message: You are unauthorized.
    Forbidden:
      description: >-
        The app_key is valid, but its permission scope or the creator's role
        does not allow this operation or object.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            noEditPermission:
              value:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                error:
                  code: AccessDenied
                  message: Access Denied.
    TooManyRequests:
      description: >-
        Rate limit hit. Wait for the number of seconds in
        `Flashcat-Request-Rate-Limit-Delay`, then retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            rateLimited:
              value:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                error:
                  code: RequestTooFrequently
                  message: Request too frequently.
      headers:
        Flashcat-Request-Rate-Limit-Delay:
          description: >-
            Seconds until the current rate-limit window resets. Absent when the
            request was rejected by the gateway's global protection limit.
          schema:
            type: integer
            minimum: 0
    ServerError:
      description: Unexpected server-side error. Include the request_id when reporting.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            internal:
              value:
                request_id: 01HK8XQE3Z7JM2NTFQ5YJ8P9R4
                error:
                  code: InternalError
                  message: >-
                    We encountered an internal error, and it has been reported.
                    Please try again later.
  securitySchemes:
    AppKeyAuth:
      type: apiKey
      in: query
      name: app_key
      description: >-
        APP Key created in the Flashduty console under My → APP Key. Send it as
        the `app_key` query parameter or in the `Fd-App-Key` request header. Its
        effective access is the intersection of the key's permission scope and
        the creator's current role permissions. Keep it secret.

````

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