Sirportly

Toggle Menu

Manage User/Ticket Subscription

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

URL

/api/v2/notifications/ticket_subscription

Access

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

Supported Parameters

  • ticket - the reference of the ticket (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
}