post https://api.fonestorm.com/v2/faxes/receive_notify
Configure the callback URL to notify when an inbound fax is received. Each FoneNumber can be configured to use its own callback URL for handling receive notifications.
Configure a callback (web hook) to execute when an SMS message is received at the given FoneNumber. Returns a Fonenumber object reflecting the updated receive callback information.
{
"fonenumber": {
"fonenumber": "3215551212",
"service": {
"type": "Device",
"id": null
},
"sms_options": {
"receive": {
"type": "email",
"email": "[email protected]",
"device": "21915233078",
"forward": "",
"url": null,
"url_method": null
},
"receive_notify": {
"url": "https://hcm.ngrok.io/",
"method": "JSON"
},
....
}
}