cURL
curl --request POST \ --url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/subscriptions/{subscriptionID}/filters \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "body": {}, "event_type": "<string>", "headers": {} }'
{ "message": "<string>", "status": true, "data": { "body": {}, "event_type": "<string>", "headers": {}, "raw_body": {}, "raw_headers": {}, "subscription_id": "<string>", "uid": "<string>" } }
This endpoint creates a new filter for a subscription
Project ID
Subscription ID
Filter to create
Type of event this filter applies to (required)
Body matching criteria (optional)
Header matching criteria (optional)
Created
Show child attributes
Was this page helpful?