Webhooks > Notification

When a text message or email fails to be delivered or when a customer clicks on a payment link, the webhook will be called and the following data format will be POSTED to the provided webhook URL.

Successful Notification
			
{
  "action": "notification",
  "data": {
    "site": "6201825a0cf5e23261a08646",
    "invoice": "649dc5bb468bd5b5d863c7d2",
    "message": "Customer clicked link via text message",
    "error": false
  }
}


		
Failed Notification
			
{
  "action": "notification",
  "data": {
    "site": "6201825a0cf5e23261a08646",
    "invoice": "649dc5bb468bd5b5d863c7d2",
    "message": "Text to 18001231245 failed",
    "error": true
  }
}