So I've had the chance to develop an app that uses the SMS messaging API for govhack, and I've been wondering.. any chance of ever having an API endpoint for polling for multiple messages at once?
Querying for one message at a time, as opposed to, for example, specifying "give me 10 message and tell me how many more left" just feels a lot less efficient. Right now, with the polling API, if my subscription number gets sent 10 messages at once, and I poll once a second, it'll take 10 second before I get to see the last message. I can reduce the polling number but then it'd make the server get that many more API calls.
Of course I could use the notifyURL argument and provide a web address, but I thought the polling API was more convenient to use
Additionally, is there any way to get previously polled messages? For example, if during a polling call my server crashes while processing the result (power outage or what have you), it'd be great if I can resume and get that previous message, as opposed to losing it forever.
Also - what are the costs associated with reading sms replies? 1c? A bit less clear on this on the PAYG pricing page.
Thanks (and maybe I should post separate topics? don't want to spam the forums though)