NotificationSubscriptions
Subscribe to Notification
Creates a new Subscription. Returns a unique subscription ID for a successful request. See Event Objects for example notification objects and descriptions of their fields. <br />Example Request
POST /NotificationSubscriptions/Subscribe
{
"Name": "New Subscription",
"IsEnabled": true,
"Type": "MSBot",
"Content":
{
"ConversationId":"a:1aV4BNOWtTdqJhkdgsdfhsdfhsgjdfgjdrtydjyj",
"TenantId":"1111111-1111-1111-1111-111111111111",
"UserId":"29:1oTNViX5ByDxfsgdfgsdhgjlnkkli",
"UserName":"First Last",
"ServiceUrl":"https://smba.trafficmanager.net/amer/"
}
}
post/NotificationSubscriptions
Request
- Base URLhttps://sb2api.servicechannel.com/v3
- AuthOAuth 2Authorization codehttps://sb2login.servicechannel.com/oauth/authorizeToken URLhttps://sb2login.servicechannel.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The subscription is created.
Changes
No recorded changes to this operation across all 1 revision of this API.