Skip to main content
POST
Create a webhook filter

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

The webhook filter to create

webhookId
string
required

The unique identifier for the webhook, in UUID format

Example:

"123e4567-e89b-12d3-a456-426614174000"

filterKey
string
required

The key to filter on

Example:

"sensor"

filterValue
string
required

The value to filter on

Example:

"sensor123"

filterType
enum<string>
required

The type of the filter value

Available options:
string,
number,
boolean
Example:

"string"

filterOperation
enum<string>
required

The operation to perform on the filter value

Available options:
eq,
neq,
gt,
gte,
lt,
lte,
contains,
notContains,
in,
notIn,
startsWith,
endsWith,
regexp
Example:

"eq"

active
boolean
required

Whether the filter is active

Example:

true

Response

Webhook filter created successfully

filter
object
required