Clockwork will forward each incoming message to a server of your choosing by making an HTTP POST request. The POST will contain UTF-8 encoded XML. Your server needs to respond with a 200 OK status code to acknowledge receipt of the message, otherwise the API will retry at regular intervals.
Unique ID we assigned to the message, use this if you want to raise a query and to make sure you don’t receive any duplicates.
Your long number or short code
Phone number that sent the message, this will be in international format e.g. 441625588620
Text of the message
If you’re using a shared short code we’ll pass across the keyword that was matched. For Clockwork mobile numbers this isn’t used.
Mobile network the message was received from - the mobile network is only available on dedicated short codes, this tag will not be present on Clockwork mobile numbers.
Mobile number 441234567890 has sent the message “Hello World” to the Clockwork shared short code 84433.
1 2 3 4 5 6 7 8 <?xml version="1.0" encoding="utf-8"?> <MO> <Id>AB_123</Id> <To>84433</To> <From>441234567890</From> <Keyword>hello</Keyword> <Content>Hello world</Content> </MO>