Get SWML Application
GEThttps://YOUR_SPACE.signalwire.com/api/fabric/resources/swml_applications/:id
Returns a SWML Application by ID.
Request
Path Parameters
id uuidrequired
The ID of the SWML Application
Responses
- 200
A SWML Application
- application/json
- Schema
- Example (auto)
Schema
id uuid
Example:
993ed018-9e79-4e50-b97b-984bd5534095
project_id uuid
Example:
1313fe58-5e14-4c11-bbe7-6fdfa11fe780
display_name string
Example:
Reception
type string
Example:
swml_application
created_at date-time
Example:
2024-01-02T00:00:00Z
updated_at date-time
Example:
2024-01-02T00:00:00Z
swml_application object
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"display_name": "Reception",
"type": "swml_application",
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"swml_application": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"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!"
}
]
}
}
}
}
Authorization: http
name: basic_authtype: httpscheme: basicdescription: Basic HTTP Authentication
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://YOUR_SPACE.signalwire.com/api/fabric/resources/swml_applications/:id");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear