Triggers API

The Triggers API (Beta) lets you "subscribe to events from your users' integrations, using our catalog of pre-built triggers or Custom Webhooks." Exposes discovery, subscription, update, and unsubscribe operations for events such as `SLACK_MESSAGE_RECEIVED` or `GOOGLE_CALENDAR_NEW_EVENT` across 130+ integrations. Authenticates with the Paragon User Token JWT.

OpenAPI Specification

paragon-triggers-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Paragon ActionKit Credentials Triggers API
  description: ActionKit is an API to give your AI agent or app access to Paragon's catalog of pre-built Integration Tools across 130+ SaaS applications. ActionKit exposes a Universal API (Tools API) for listing and executing synchronous CRUD actions, and is paired with a Triggers API for event subscriptions. Paragon also publishes an MCP server (github.com/useparagon/paragon-mcp) that wraps ActionKit so agents can call integration tools via the Model Context Protocol. Requests are scoped to a Connected User via Paragon User Token (JWT) Bearer authentication.
  version: 1.0.0
  contact:
    name: Paragon
    url: https://www.useparagon.com
  license:
    name: Proprietary
    url: https://www.useparagon.com/terms-of-service
servers:
- url: https://actionkit.useparagon.com
  description: Paragon ActionKit API (Cloud)
security:
- bearerAuth: []
tags:
- name: Triggers
  description: Subscribe to integration events for AI agents and apps.
paths:
  /projects/{projectId}/triggers:
    get:
      operationId: listAvailableTriggers
      summary: Paragon List Available Triggers
      description: Returns the catalog of pre-built triggers available to the Connected User, scoped to the integrations they have enabled. Each trigger describes its event type, supported parameters, and the integration it belongs to.
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        description: Your Paragon Project ID.
        schema:
          type: string
      - name: integration
        in: query
        required: false
        description: Optional integration filter (e.g., slack, googleCalendar).
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the catalog of triggers.
          content:
            application/json:
              schema:
                type: object
                properties:
                  triggers:
                    type: array
                    items:
                      $ref: '#/components/schemas/Trigger'
        '401':
          description: Unauthorized.
  /projects/{projectId}/triggers/subscriptions:
    get:
      operationId: listSubscribedTriggers
      summary: Paragon List Subscribed Triggers
      description: Returns the list of trigger subscriptions for the Connected User.
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        description: Your Paragon Project ID.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved subscriptions.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TriggerSubscription'
        '401':
          description: Unauthorized.
    post:
      operationId: subscribeToTrigger
      summary: Paragon Subscribe To Trigger
      description: Subscribes the Connected User to a trigger event. Paragon will deliver matching events to the webhook URL configured for the project (or a per-subscription override).
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        description: Your Paragon Project ID.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerSubscriptionRequest'
      responses:
        '201':
          description: Subscription created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSubscription'
        '400':
          description: Invalid subscription request.
        '401':
          description: Unauthorized.
  /projects/{projectId}/triggers/subscriptions/{subscriptionId}:
    patch:
      operationId: updateTriggerSubscription
      summary: Paragon Update Trigger Subscription
      description: Updates the parameters of an existing trigger subscription.
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: subscriptionId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TriggerSubscriptionRequest'
      responses:
        '200':
          description: Subscription updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TriggerSubscription'
    delete:
      operationId: unsubscribeFromTrigger
      summary: Paragon Unsubscribe From Trigger
      description: Removes a trigger subscription for the Connected User.
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: subscriptionId
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Subscription deleted.
        '401':
          description: Unauthorized.
        '404':
          description: Subscription not found.
  /projects/{projectId}/triggers/{trigger}/example-payload:
    post:
      operationId: getExamplePayload
      summary: Paragon Get Example Trigger Payload
      description: Returns an example payload Paragon will deliver for a given trigger. Useful for testing and for shaping consumer handlers without waiting for a live event.
      tags:
      - Triggers
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: trigger
        in: path
        required: true
        description: The trigger identifier (e.g., SLACK_MESSAGE_RECEIVED).
        schema:
          type: string
      responses:
        '200':
          description: Returns an example event payload.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
components:
  schemas:
    TriggerSubscription:
      type: object
      properties:
        id:
          type: string
          description: Subscription identifier.
        userId:
          type: string
        trigger:
          type: string
        integration:
          type: string
        parameters:
          type: object
          additionalProperties: true
        deliveryUrl:
          type: string
          format: uri
        createdAt:
          type: string
          format: date-time
    Trigger:
      type: object
      properties:
        name:
          type: string
          description: Trigger identifier (e.g., SLACK_MESSAGE_RECEIVED).
        description:
          type: string
        integration:
          type: string
        parameters:
          type: object
          description: JSON Schema describing the parameters required to subscribe.
    TriggerSubscriptionRequest:
      type: object
      required:
      - trigger
      properties:
        trigger:
          type: string
          description: The trigger name to subscribe to.
        parameters:
          type: object
          description: Trigger-specific parameters (e.g., channelId for Slack).
          additionalProperties: true
        deliveryUrl:
          type: string
          format: uri
          description: Optional per-subscription webhook URL override.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Paragon User Token. A signed JWT token used to authenticate a Connected User.