Sirportly

Toggle Menu

Manage User/Filter Subscription

This method allows you to manage whether a user is subscribed to a filter or not.

URL

/api/v2/notifications/filter_subscription

Access

This method can only be used by user access tokens. Application wide tokens do not have access to this method.

Supported Parameters

  • filter - the ID of the filter (required)

By default this method will return the current subscription status. If you wish to change the subscription status you can send the subscribed parameter with either 1 or 0, as appropriate.

Example JSON

{
  "subscribed": true
}