cURL
curl --request POST \ --url https://us.getconvoy.cloud/api/v1/projects/{projectID}/subscriptions/{subscriptionID}/filters \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "event_type": "<string>", "body": {}, "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
Documentation IndexFetch the complete documentation index at: https://getconvoy.io/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://getconvoy.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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?