Automated Notifications

Upsert Subscription

Subscribe or unsubscribe a topic or create a new subscription(subscribe)

put/automated-notifications/subscriptions

Request

  • Base URL
    https://api.talkdeskapp.com
  • URL
    https://api.talkdeskapp.com/automated-notifications/subscriptions
  • Auth
    OAuth 2
    Authorization code: https://{account_name}.talkdeskid.com/oauth/authorize
    Token URL: https://{account_name}.talkdeskid.com/oauth/token scopes: automated-notifications-subscriptions:write

Request body

topic_idstring required

The id of the topic to subscribe/unsubscribe.

opt_inboolean required

The status of the subscription.

Example request

{
  "channel": {
    "uri": "mailto:john.doe@talkdesk.com"
  }
}

Response

OK

idstring required

The id of the subscription.

topic_idstring required

The id of the topic to subscribe/unsubscribe.

opt_inboolean required

The status of the subscription.

Example response

{
  "channel": {
    "uri": "mailto:john.doe@talkdesk.com"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.