v1

latestOpenAPI 3.0.12026-07-244011,5573.5 MB
User Subscriptions

Create a user subscription

Creates a new notification subscription for the specified user. The request body specifies the event type to subscribe to and the delivery channel (email, Slack, or webhook). Returns the created subscription.

post/v6/users/{user_id}/subscriptions

Path parameters

user_idstring required

The unique identifier of this user at Extole.

Request body

dedupe_duration_msinteger
filtering_level'ALL' | 'NONE' | 'NOTEWORTHY' | 'SOME' required
having_all_tagsstring[] required

Example request

{
  "filter_expression": "handlebars@runtime:{{filterExpression}}"
}

Response

Successful response

dedupe_duration_msinteger required
filtering_level'ALL' | 'NONE' | 'NOTEWORTHY' | 'SOME' required
having_all_tagsstring[] required
subscription_idstring required

Example response

{
  "filter_expression": "handlebars@runtime:{{filterExpression}}"
}