REST Notification API specification

This section describes the API that the Token Server expects when notifications are send by the Token Server to an external service which handles the actual
notification delivery to an end-user.

The notification interface defines two types of notifications:

Email

SMS

The Token Server will make an HTTP POST request to the notification endpoint specified via the Docker Compose environment variables for notifications.
Along with the API endpoint you also need to specify a number of other properties, such as the credentials that are used in the API request by the Token Server.

Email API

The request that the Token Server will make to trigger an Email notification will look as follows: