how to create notificationUrl in Create subscription

Apptomate 1 Reputation point
2021-04-28T15:44:18.367+00:00

{
"changeType": "created",
"notificationUrl": "https://webhook.azurewebsites.net/api/send/myNotifyClient",
"resource": "me/mailFolders('Inbox')/messages",
"expirationDateTime":"2016-11-20T18:23:45.9356913Z",
"clientState": "secretClientValue",
"latestSupportedTlsVersion": "v1_2"
}

here notification url is mentioned but where we have to create this please explain

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,711 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Danstan Onyango 3,741 Reputation points Microsoft Employee
    2021-04-29T14:10:47.977+00:00

    notificationUrl is your own API endpoint that Graph will send the notification to. It can be any public web HTTPS interface with a certificate issued by a Known CA. I suggest you check Use Change Notifications and Track Changes with Microsoft Graph Guide where Ngrok is used to expose an endpoint running on your local machine to accept MS Graph change notifications

    0 comments No comments