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

# List workflow trigger sources

> Integrations whose events can trigger workflows (e.g. Stripe), whether each is connected in this environment, and the events each offers.



## OpenAPI

````yaml /openapi.json get /trigger-sources
openapi: 3.1.0
info:
  title: subscriber.dev API
  description: >-
    Trigger workflows, manage subscribers and send broadcasts. Authenticate with
    an API key in the X-API-Key header: the key decides the environment. Docs:
    https://docs.subscriber.dev
  version: '1.0'
  contact: {}
servers:
  - url: https://api.subscriber.dev
    description: Cloud
security: []
tags: []
paths:
  /trigger-sources:
    get:
      tags:
        - Inbound events
      summary: List workflow trigger sources
      description: >-
        Integrations whose events can trigger workflows (e.g. Stripe), whether
        each is connected in this environment, and the events each offers.
      operationId: listTriggerSources
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTriggerSourcesResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limited. Wait a second and retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearer: []
        - api-key:
            - workflows:read
components:
  schemas:
    ListTriggerSourcesResponse:
      type: object
      properties:
        sources:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
                description: Use as a trigger's `source`, e.g. "stripe".
              name:
                type: string
              connected:
                type: boolean
                description: >-
                  Whether the integration is set up in this environment.
                  Triggers can only be added for connected sources.
              events:
                type: array
                items:
                  type: object
                  properties:
                    name:
                      type: string
                      description: Use as a trigger's `event`.
                    label:
                      type: string
                  required:
                    - name
                    - label
            required:
              - source
              - name
              - connected
              - events
      required:
        - sources
    ErrorResponse:
      type: object
      properties:
        statusCode:
          type: integer
          example: 404
        message:
          type: string
          example: Workflow not found
        error:
          type: string
          example: Not Found
        errors:
          description: Which fields failed validation, on a 400.
          type: array
          items:
            type: object
            properties:
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              message:
                type: string
              code:
                type: string
            required:
              - path
              - message
      required:
        - statusCode
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
      description: >-
        A session token from `subscriber login`, used by subscriber.dev's own
        apps. Requests about an environment also need its ID in the
        `x-environment-id` header. From your own code, use an API key.
    api-key:
      type: apiKey
      in: header
      name: X-API-Key
      description: An environment API key. Keep it on your server.

````

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