Cloudinary Triggers API

Enables you to manage event triggers and notifications.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1_1/{cloud_name}/triggers List webhook triggers · Lists all webhook notification triggers configured for your product environment #
Ask an LLM
“Which webhook triggers are configured for my product environment?”
“Can I list only the triggers for one event type?”
Tell an agent
List all webhook triggers in {cloud_name}.
Show triggers in {cloud_name} for event type {event_type}.
POST /v1_1/{cloud_name}/triggers Create a webhook trigger · Creates a new notification trigger (webhook) by specifying an event type and a… #
Ask an LLM
“How do I get notified by webhook when a specific event happens?”
“What is the maximum number of notification URLs per event type?”
Tell an agent
Create a {event_type} trigger in {cloud_name} that posts to {uri}.
Set up a new webhook notification for {event_type} on {cloud_name} at {uri}.
PUT /v1_1/{cloud_name}/triggers/{id} Change a webhook trigger's URL · Updates the callback URL of an existing webhook trigger in your Cloudinary… #
Ask an LLM
“Can I point an existing trigger at a different callback URL?”
“How do I rotate the webhook endpoint of a trigger?”
Tell an agent
Point trigger {id} in {cloud_name} at {new_uri}.
Update the callback URL of webhook trigger {id} on {cloud_name} to {new_uri}.
DELETE /v1_1/{cloud_name}/triggers/{id} Delete a webhook trigger · Deletes a notification trigger #
Ask an LLM
“How do I stop webhook notifications by deleting a trigger?”
“Can I remove a trigger I no longer need?”
Tell an agent destructive · confirm first
Delete trigger {id} in {cloud_name}.
Remove webhook trigger {id} from {cloud_name}.
POST /v1_1/{cloud_name}/triggers/{id}/test Test a trigger's filter against sample data · Tests an existing trigger's filter against sample data #
Ask an LLM
“How do I check that a trigger's filter matches the events I expect?”
“Can I test a trigger against sample notification data?”
Tell an agent
Test trigger {id} in {cloud_name} against sample data {sample_data}.
Evaluate the filter of webhook trigger {id} on {cloud_name} using {sample_data}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudinary:cloudinary-triggers-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudinary-triggers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary Triggers API
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  version: '1.0'
  description: 'Operations tagged triggers across 3 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-environment-config-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
tags:
- name: Triggers
  description: Enables you to manage event triggers and notifications.
paths:
  /v1_1/{cloud_name}/triggers:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    get:
      x-speakeasy-mcp:
        name: list-triggers
        scopes:
        - admin
        title: List Triggers
        readOnlyHint: true
        idempotentHint: true
      operationId: listTrigger
      summary: Lists all webhook notification triggers configured for your product environment
      description: Retrieves a list of all event triggers and notifications within your product environment.
      tags:
      - Triggers
      parameters:
      - name: event_type
        in: query
        required: false
        description: The type of event that will trigger the notification response.
        schema:
          $ref: '#/components/schemas/event_type'
      responses:
        '200':
          description: Triggers retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/trigger_list_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid value a for parameter event_type
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    post:
      x-speakeasy-mcp:
        name: create-trigger
        scopes:
        - admin
        title: Create Trigger
      operationId: createTrigger
      summary: Creates a new notification trigger (webhook) by specifying an event type and a…
      description: 'Creates a new trigger.

        Your product environment supports triggers up to a maximum determined by multiplying the number of unique event types by the limit of 30 notification URLs.'
      tags:
      - Triggers
      requestBody:
        description: The webhook notification trigger to create.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/create_trigger_request'
      responses:
        '201':
          description: Trigger created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/trigger_info'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: limit_reached
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '409':
          description: Validation error - Record already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: record_already_exists
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/triggers/{id}:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    - name: id
      in: path
      required: true
      schema:
        type: string
      description: The ID of the trigger.
      example: c2c822dd1aa41ba6d81299df8b5ae949
    put:
      x-speakeasy-mcp:
        name: update-trigger
        scopes:
        - admin
        title: Update Trigger
        idempotentHint: true
      operationId: updateTrigger
      summary: Updates the callback URL of an existing webhook trigger in your Cloudinary…
      description: Updates a notification URL for a trigger.
      tags:
      - Triggers
      requestBody:
        description: The updated trigger configuration.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_trigger_request'
      responses:
        '200':
          description: Trigger updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/message_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: missing_attributes
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '404':
          description: No trigger found with the specified id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: record_not_found
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    delete:
      x-speakeasy-mcp:
        name: delete-trigger
        scopes:
        - admin
        title: Delete Trigger
        destructiveHint: true
        idempotentHint: true
      operationId: deleteTrigger
      summary: Deletes a notification trigger
      description: Deletes a trigger.
      tags:
      - Triggers
      responses:
        '200':
          description: Trigger deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/message_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: invalid_or_malformed_attribute
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '404':
          description: No trigger found with the specified id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: record_not_found
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/triggers/{id}/test:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    - name: id
      in: path
      required: true
      schema:
        type: string
      description: The ID of the trigger to test.
      example: c2c822dd1aa41ba6d81299df8b5ae949
    post:
      x-speakeasy-mcp:
        name: test-trigger
        scopes:
        - admin
        title: Test Trigger Filter
        readOnlyHint: true
        idempotentHint: true
      operationId: testTrigger
      summary: Tests an existing trigger's filter against sample data
      description: 'Evaluates an existing trigger''s filter against provided sample data.

        Use this endpoint to verify that a trigger''s filter will match expected events.'
      tags:
      - Triggers
      requestBody:
        description: The test data for the trigger.
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/test_trigger_request'
      responses:
        '200':
          description: Test completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/test_trigger_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              examples:
                invalid_sample_data:
                  value:
                    error:
                      message: invalid_sample_data_json
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '404':
          description: No trigger found with the specified id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: record_not_found
      security:
      - basicAuth: []
      - oauth2:
        - asset_management
        - upload
        - media_generation
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  schemas:
    event_type:
      type: string
      description: The type of notification event.
      enum:
      - all
      - access_control_changed
      - bulk_refresh_auto_fetch
      - create_folder
      - delete
      - delete_by_token
      - delete_folder
      - eager
      - error
      - explode
      - generate_archive
      - info
      - invalidate_custom_cdn
      - moderation
      - moderation_summary
      - move
      - move_or_rename_asset_folder
      - multi
      - publish
      - rename
      - report
      - resource_context_changed
      - resource_display_name_changed
      - resource_metadata_changed
      - resource_tags_changed
      - restore_asset_version
      - sprite
      - upload
    message_response:
      type: object
      properties:
        message:
          type: string
          description: A human-readable status message.
          example: updated
      required:
      - message
    trigger_list_response:
      type: object
      description: List response for triggers.
      properties:
        triggers:
          type: array
          description: List of trigger objects.
          items:
            $ref: '#/components/schemas/trigger_info'
        total:
          type: integer
          description: Total number of triggers.
          example: 1
      required:
      - triggers
      - total
    test_trigger_request:
      type: object
      properties:
        sample_data:
          type: object
          description: Sample notification data to evaluate the filter against.
          example:
            resource_type: image
            public_id: sample123
            tags:
            - product
    update_trigger_request:
      type: object
      properties:
        new_uri:
          type: string
          format: uri
          example: http://example.com
          description: The updated URL that will receive the notification response.
      required:
      - new_uri
    api_error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
          - message
      required:
      - error
    uri_type:
      type: string
      enum:
      - webhook
      - flow
    trigger_info:
      type: object
      properties:
        id:
          type: string
          example: c2c822dd1aa41ba6d81299df8b5ae949
        product_environment_id:
          type: string
          example: 7fabb2ff3d687d05b63134cf8fa006ba16
        uri_type:
          $ref: '#/components/schemas/uri_type'
          example: webhook
        uri:
          type: string
          format: uri
          example: http://example.com
        event_type:
          $ref: '#/components/schemas/event_type'
          example: all
        created_at:
          type: string
          format: date-time
          example: '2025-05-13T09:40:29+00:00'
        updated_at:
          type: string
          format: date-time
          example: '2025-05-13T09:40:29+00:00'
      required:
      - uri
      - uri_type
    create_trigger_request:
      type: object
      properties:
        uri:
          type: string
          description: The URL that will receive the notification response.
          format: uri
          example: https://trigger.site/124
        event_type:
          $ref: '#/components/schemas/event_type'
          description: The type of event that will trigger the notification response.
          example: upload
      required:
      - uri
      - event_type
    test_trigger_response:
      type: object
      properties:
        trigger_id:
          type: string
          description: The ID of the trigger that was tested.
          example: c2c822dd1aa41ba6d81299df8b5ae949
        filter_present:
          type: boolean
          description: Whether the trigger has a filter configured.
          example: true
        filter_result:
          type: boolean
          description: Result of evaluating the filter against sample_data (true if no filter).
          example: true
      required:
      - trigger_id
      - filter_present
      - filter_result
  parameters:
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name of your product environment.
      example: my_cloud
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            asset_management: Allows managing assets, including reading, updating, and deleting.
            upload: Allows uploading new assets.
            media_generation: Generate media
x-refined-from:
- cloudinary-api-schema.yml
- cloudinary-environment-config-openapi.yml
- cloudinary-platform-openapi.yml