Contact Free trial Login

Call the CloudHub API to Create a Notification

logo cloud active logo hybrid disabled logo server disabled logo pcf disabled

For instructions on how to create notifications using the Runtime Manager UI, see CloudHub and its child pages.

The POST operation specified with the /api/notifications resource creates a new CloudHub notification.

Example Request

POST https://anypoint.mulesoft.com/cloudhub/api/notifications
Content-Type: application/json

{
  "domain": "myapp",
  "priority": "INFO",
  "message": "Something happened",
}

Example Response

201
Content-Type: application/json
Location: https://anypoint.mulesoft.com/cloudhub/api/notifications/12345

Check out the API Portal of the CloudHub API to see an interactive reference of all the supported resources, methods, required properties and expected responses.

In the API Portal, search among other Mule APIs for the CloudHub API and enter its latest version.