v27

latestOpenAPI 3.0.0MITraw.githubusercontent.com2025-11-2810941146.5 KB
Applications

create application

post/Applications

Request body

namestring required

application name

account_sidstring uuid required
app_jsonstring

Voice Application Json, call_hook will not be invoked if app_json is provided

speech_synthesis_vendorstring
speech_synthesis_voicestring
speech_recognizer_vendorstring
speech_recognizer_languagestring
env_varsobject

Object containing the Application Environment Variables as key/value to be sent with the call_hook payload

Example request

{
  "call_hook": {
    "url": "https://acme.com",
    "method": "POST"
  },
  "call_status_hook": {
    "url": "https://acme.com",
    "method": "POST"
  },
  "messaging_hook": {
    "url": "https://acme.com",
    "method": "POST"
  }
}

Response

application successfully created

sidstring required

Example response

{
  "sid": "9d26a637-1679-471f-8da8-7150266e1254"
}