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

# Get a trigger

> Fetch a single Trigger by id. `raw_request` (the raw inbound payload — may hold PII / webhook HMAC signatures) is returned ONLY to an admin principal (D-07); non-admin callers receive the trigger's type/source/timestamps/back-references but the key is omitted. Cross-tenant access returns 404.



## OpenAPI

````yaml /openapi.json get /triggers/{trigger_id}
openapi: 3.1.0
info:
  title: GetDialed Flows API
  version: 0.1.0
servers:
  - url: https://api.getdialed.ai/flows
    description: Production
security: []
paths:
  /triggers/{trigger_id}:
    get:
      tags:
        - triggers
      summary: Get a trigger
      description: >-
        Fetch a single Trigger by id. `raw_request` (the raw inbound payload —
        may hold PII / webhook HMAC signatures) is returned ONLY to an admin
        principal (D-07); non-admin callers receive the trigger's
        type/source/timestamps/back-references but the key is omitted.
        Cross-tenant access returns 404.
      operationId: get_trigger_triggers__trigger_id__get
      parameters:
        - name: trigger_id
          in: path
          required: true
          schema:
            type: string
            title: Trigger Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/getdialed__api__schemas__triggers__TriggerResponse
        '401':
          description: Missing or invalid authentication
          content:
            application/json:
              example:
                detail: Authentication required
        '404':
          description: >-
            No such trigger for this organization (cross-tenant access also
            returns 404)
          content:
            application/json:
              example:
                detail: Trigger not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Rate limit exceeded — retry after the Retry-After header
          headers:
            Retry-After:
              description: Seconds to wait before retrying
              schema:
                type: integer
          content:
            application/json:
              example:
                detail: 'Rate limit exceeded: 100 per 1 minute'
      security:
        - APIKeyHeader: []
        - HTTPBearer: []
components:
  schemas:
    getdialed__api__schemas__triggers__TriggerResponse:
      properties:
        id:
          type: string
          title: Id
        definition_id:
          type: string
          title: Definition Id
        org_id:
          type: string
          title: Org Id
        type:
          type: string
          enum:
            - csv_upload
            - api_call
            - ui_form
            - db_query
            - event
            - schedule
            - webhook
          title: Type
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        dedup_key:
          anyOf:
            - type: string
            - type: 'null'
          title: Dedup Key
        raw_request:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Raw Request
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
      type: object
      required:
        - id
        - definition_id
        - org_id
        - type
        - created_at
        - updated_at
      title: TriggerResponse
      example:
        created_at: '2026-07-09T17:59:59Z'
        dedup_key: evt_9988
        definition_id: def_a1b2c3d4
        id: trigger_44556677
        org_id: org_a1b2c3d4
        raw_request:
          event: lead.created
          id: 00Q...
        source: salesforce
        type: webhook
        updated_at: '2026-07-09T17:59:59Z'
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
    HTTPBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT

````