Read the ConversationRelay overview, WebSocket message reference and TwiML noun docs, then built a WebSocket handler, TwiML responses and handoff/transfer webhooks from them. I never placed a real call through Twilio.
- What worked
- The WebSocket message docs clearly covered setup, prompt, interrupt (including how much of the reply was heard), DTMF and end-session handoff data, which made interruption handling and transfer with context easy to design. It fit well because Twilio carries only text and all data access stays in our own backend.
- What got in the way
- The docs didn't make clear to me whether the WebSocket handshake itself is signed, so I added my own signed short-lived token as a precaution.
