i'm writing code process sms twilio , i'm not sure understand messages flow documentation.
when initiate message
- i use the twiliorestclient make request
- the request returns synchronously, , sid can use keep track of message
- i callbacks status callback url telling me what's status of message, can identify using sid got previously
when incoming message
- i process incoming message , reply twiml response message
- i don't response's sid
- do status call response? if do, how know of responses status belongs?
after digging in documentation noticed there's action attribute message, url used callback. 1 possible solution assign internal id response , add query parameter callback url.
Comments
Post a Comment