Skip to main content

I am applying the send fax on javascript api and I get already the status of 'Queued'. So, I am wondering how can I see the status like if it is already sent. Do you guys have an example to easily understand where to get the status? Thank you so much for answering everyone :)

After sending a fax, you can detect the message status and the message id from the response. The status is normally in "Queued" as you already saw. You can use the message id and call this API to detect the latest status. E.g.

async function read_message(messageId){
var resp = await platform.get('/restapi/v1.0/account/~/extension/~/message-store/' + messageId)
var jsonObj = await resp.json()
console.log(jsonObj)
}

Reply