Make sure to add the Twilio integration and copying the webhook. Follow the link below on instructions of how to create integration and service
Create integration and service on our dashboard
Copy URL from your palzin instance service view page.
Click on Monitor > webhook.
Paste the Palzin Monitor webhook URL.
Click on save.
In your palzin instance an incident will be created. That will contain these details.
{
"resource_sid": "jhakjsyf3418hfkajh7346581jhhu",
"service_sid": null,
"error_code": "12312",
"more_info": {
"Msg": "An attempt to retrieve content from https://test.io/voice?&user=random-value returned the HTTP status code 404",
"msg": "An attempt to retrieve content from https://test.io/voice?&user=random-value returned the HTTP status code 404",
"sourceComponent": "12000",
"ErrorCode": "32131",
"httpResponse": "404",
"LogLevel": "ERROR",
"url": "https://test.io/voice?&user=random-value"
},
"webhook": {
"type": "application/json",
"request": {
"url": "https://test.io/voice?&user=random-value",
"method": "POST",
"headers": {
},
"parameters": {
"CalledZip": "",
"ApiVersion": "2010-04-01",
"Called": "+1111111111111",
"CalledCity": "",
"CallStatus": "in-progress",
"From": "+11111111111111",
"ToState": "Maharashtra / Goa",
"CallerCountry": "US",
"Direction": "outbound-api",
"AccountSid": "jaksdh293847afhd8y",
"CalledCountry": "IN",
"CallerCity": "RANDOM",
"CallerState": "WA",
"ToCity": "",
"FromCountry": "US",
"Caller": "+11111111111",
"ToZip": "",
"FromCity": "RANDOM",
"CalledState": "Maharashtra / Goa",
"To": "+1111111111111",
"CallSid": "ashdfaklsjh283798jaksdh",
"FromZip": "162875",
"ToCountry": "IN",
"CallerZip": "162875",
"FromState": "WA"
}
},
"response": {
"status_code": null,
"headers": {
"X-Twilio-WebhookAttempt": "1",
"X-Twilio-WebhookRetriable": "false",
"Content-Length": "42",
"Date": "Fri, 12 Mar 2021 06:29:26 GMT",
"Content-Type": "text/plain"
},
"body": null
}
}
}
It takes less than a minutes to setup your first monitoring.