curl --request POST \
--url https://caliper.alpha-1edtech.ai/webhook-filters/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"filterKey": "sensor",
"filterValue": "sensor123",
"filterType": "string",
"filterOperation": "eq",
"active": true
}
'{
"filter": {
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"filterKey": "sensor",
"filterValue": "sensor123",
"filterType": "string",
"filterOperation": "eq",
"active": true,
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"deletedAt": "2021-01-01T00:00:00.000Z"
}
}Creates a new webhook filter
curl --request POST \
--url https://caliper.alpha-1edtech.ai/webhook-filters/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"filterKey": "sensor",
"filterValue": "sensor123",
"filterType": "string",
"filterOperation": "eq",
"active": true
}
'{
"filter": {
"webhookId": "123e4567-e89b-12d3-a456-426614174000",
"filterKey": "sensor",
"filterValue": "sensor123",
"filterType": "string",
"filterOperation": "eq",
"active": true,
"createdAt": "2021-01-01T00:00:00.000Z",
"updatedAt": "2021-01-01T00:00:00.000Z",
"deletedAt": "2021-01-01T00:00:00.000Z"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.timeback.com/llms.txt
Use this file to discover all available pages before exploring further.
The access token received from the authorization server in the OAuth 2.0 flow.
The webhook filter to create
The unique identifier for the webhook, in UUID format
"123e4567-e89b-12d3-a456-426614174000"
The key to filter on
"sensor"
The value to filter on
"sensor123"
The type of the filter value
string, number, boolean "string"
The operation to perform on the filter value
eq, neq, gt, gte, lt, lte, contains, notContains, in, notIn, startsWith, endsWith, regexp "eq"
Whether the filter is active
true
Webhook filter created successfully
Show child attributes