Polling Inbound SMS with Response Queue
- 1 Minute to read
- Print
- DarkLight
Polling Inbound SMS with Response Queue
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
The Response Queue allows you to poll for incoming SMS events.
How it works
You can retrieve all incoming SMS messages in your system via the existing API methods in the Response Queue. It is also possible if you are using Alternate Email and Alternate Mobile Number.
Response Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<asyncResults>
<asyncResult>
<queueId>AC120B700174DED67AE1</queueId>
<output>
<name>phoneNumber</name>
<value>491712345678</value>
</output>
<output>
<name>responseRecordTypeCode</name>
<value>SI</value>
</output>
<output>
<name>sentDate</name>
<value>Wed Sep 30 13:47:11 CEST 2020</value>
</output>
<output>
<name>contactId</name>
<value>159301175</value>
</output>
<output>
<name>inboundMessage</name>
<value>STOP i don't want to recieve this sms messages</value>
</output>
</asyncResult>
</asyncResults>
Prerequisites
This feature needs to be activated by your customer success or account manager. In case you are using Alternate Email and Alternate Mobile Number, there is an additional feature that needs to be activated. Inform your point of contact about this as well.
Was this article helpful?