Triggers
Tests an existing trigger's filter against sample data
Evaluates an existing trigger's filter against provided sample data. Use this endpoint to verify that a trigger's filter will match expected events.
AuthorizationBasic <token>
Basic authentication using Cloudinary API Key and API Secret.
In: header
Path Parameters
cloud_name*string
The cloud name of your product environment.
id*string
The ID of the trigger to test.
Request Body
application/json
The test data for the trigger.
sample_data?
Sample notification data to evaluate the filter against.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1_1/my_cloud/triggers/c2c822dd1aa41ba6d81299df8b5ae949/test" \ -H "Content-Type: application/json" \ -d '{}'{ "trigger_id": "string", "filter_present": true, "filter_result": true}