Skip to main content

SWML Scripts

Resources on the Call Fabric platform

About​

The SWML Resource type is used to create and manage SWML scripts. SWML allows you to write Relay applications using simple statements in a YAML or JSON document.

Details​

A SWML Script Resource has the following details:

DetailDescription
NameOptionalThe unique name for the SWML script resource.
Handle usingOptionalHosted Script is SWML script that will be hosted on SignalWire.
Primary ScriptOptionalThis is the main SWML script that will run when controlling a call or message.
Status Change WebhookOptionalAs a call or message progresses through the various states of its lifecycle, you can receive updates to your own application. Enter a URL to receive a JSON event when the status of a call or message changes.

Learn more​

For more information on SWML, please refer to the SWML documentation.