Logo
Akamai APIs API Documentation

Create a notification

POST https://{{host}}/invoicing-api/v4/notifications

Creates a notification informing a set of users about new invoices or credit memos for a set of contracts. Each notification needs to specify a unique set of contracts. The request yields an error if the set of contractId values matches that of another notification.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "contracts": [ "C-0N7RAC7" ], "creationDate": "2020-12-09T08:30:14Z", "emails": [ "user@example.com" ], "modificationDate": "2020-12-09T08:30:14Z", "notificationId": 25056, "notificationStatus": "ACTIVE", "notificationTitle": "Notification for C-0N7RAC7" }



Curl
curl -X POST 'https://host/invoicing-api/v4/notifications?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"contracts":["C-0N7RAC7"],"emails":["user@example.com"],"notificationStatus":"ACTIVE","notificationTitle":"Notification for C-0N7RAC7"}'

ENDPOINTS