cURL
curl --request POST \ --url https://api.smokeball.com/notifications \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data '{ "staffId": "832e778f-83df-454a-b344-768a862a7e67", "icon": "", "iconColor": "#25C9A4", "message": "[@staffId] has **assigned** you a Task.", "toastyIcon": "<string>", "toastyMessage": "<string>", "actionUri": "<string>" }'
{ "id": "<string>", "href": "<string>", "relation": "<string>", "method": "GET" }
Creates a notification.
When request is accepted. Returns a hypermedia 'Link' object of the notification to be created.
The response is of type object.
object