Sorry, you need to enable JavaScript to visit this website.

You are here

Polling message status

2 posts / 0 new
Last post

Paul's picture
by Paul

Polling message status

Hi,

If I poll an sms status with a request /messasges/sms/{messageId}/status immediately after the send request it always returns a deliveryStatus of "PEND" and sentTimetamp of ''.

This makes sense but what I want to do is continue polling until the status is DELVRD. I tried sending a second status request, i.e. a separate FETCH in javascript but it returns { status: '404',
code: 'OLD-NONEXISTANT-MESSAGE-ID',

Since this does not work, what is the correct way? (I don't want to specify notifyURL)

regards,

Paul

DeveloperSteve's picture
by DeveloperSteve

Hi paulesammut

Thanks for reaching out, ive been talking to the team on this one.

Currently the query will only work once on the last message stored (regardless of message status) but we are looking at expanding this beyond for future releases.

Log in or register to post comments