API description
This page describes everything you need to know to create external notifications in ahead.
Authorization - how to get & use API Keys Learn how to authorize your requests by using API Keys
External notifications
The external notification API allows you to send a notification to a certain user. The notification will appear under ahead’s notifications list in the upper right of the ahead web app, as well as a push notification should the user have ahead’s mobile app installed.
Fields
The basic payload of a call would looks something like this:
The payload is an array of objects. The following table describes one of those objects of which you can send up to 50.
Field Name | Required | Description |
---|---|---|
userPrincipalName / employeeId | Either userPrincipalName or employeeId must be provided, but not both. | |
title | yes | The title of the notification. |
body | The main content of the notification. | |
link | A URL linking to some place external to ahead |