[POST] /filters/test
Test and validate your filters configuration by using the /filters/test REST API before creating a webhook subscription to ensure that your filter is configured correctly.
Last updated
Test and validate your filters configuration by using the /filters/test REST API before creating a webhook subscription to ensure that your filter is configured correctly.
Last updated
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
String
The AIrstack API key.
eventTypes
Type of events for the webhooks to subscribe to.
Check out EventTypes
for all the available event types.
filter
{ body:
ProfileFilter
|
FollowFilter
}
Filter configuration to only listen to certain events that fulfill the inputted filter. Depending on the event types that you are subscribing to, the API will accept a different filter schema. For more advanced filter patterns, check Convoy's docs on filter here.
payload
Sample input for verification with the API.
status
Boolean
true
status
Boolean
false