Skip to main content
POST
/
v1
/
projects
/
{projectID}
/
subscriptions
/
{subscriptionID}
/
filters
/
bulk
Create multiple subscription filters
curl --request POST \
  --url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/bulk \
  --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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

projectID
string
required

Project ID

subscriptionID
string
required

Subscription ID

Body

application/json · object[]

Filters to create

event_type
string
required

Type of event this filter applies to (required)

body
object

Body matching criteria (optional)

headers
object

Header matching criteria (optional)

Response

Created

message
string
status
boolean
data
object[]