Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Answer

{
  "actions": [
    {
      "say": "Hello! Who would you like to call?"
    },
    {
      "listen": true
    }
  ]
}

Call A / B

{
  "actions": [
    {
      "handoff": {
        "method": "POST",
        "channel": "voice",
        "uri": "http://twimlets.com/callme?PhoneNumber=1-555-555-5555"
      }
    }
  ]
}

Open Door

{
  "actions": [
    {
      "handoff": {
        "method": "POST",
        "channel": "voice",
        "uri": "http://twimlets.com/message?Message%5B0%5D=https%3A%2F%2Fraw.githubusercontent.com%2Ffsargent%2Ffelixsargent-com%2Fgh-pages%2FDTFM-9.mp3&"
      }
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.