Skip to main content

Create SWML Application

POST 

https://YOUR_SPACE.signalwire.com/api/fabric/resources/swml_applications

Create SWML Application

Request

Responses

A SWML Application

Authorization: http

name: basic_authtype: httpscheme: basicdescription: Basic HTTP Authentication

Request Collapse all
Base URL
https://YOUR_SPACE.signalwire.com/api/fabric
Auth
Body required
{
  "name": "My SWML Application",
  "handle_calls_using": "external_url",
  "call_handler_url": "https://example.com/call_handler",
  "call_handler_method": "POST",
  "call_handler_fallback_url": "https://example.com/call_handler",
  "call_handler_fallback_method": "POST",
  "call_status_callback_url": "https://example.com/call_handler",
  "call_status_callback_method": "POST",
  "call_handler_script": {
    "version": "1.0.0",
    "sections": {
      "main": [
        {
          "play": "say:Hello from SignalWire!"
        }
      ]
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!