List SIP endpoints
GEThttps://YOUR_SPACE.signalwire.com/api/fabric/resources/sip_endpoints
List SIP endpoints
Responses
- 200
A list of SIP endpoints
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
iduuid
Example:
993ed018-9e79-4e50-b97b-984bd5534095
project_iduuid
Example:
1313fe58-5e14-4c11-bbe7-6fdfa11fe780
display_namestring
Example:
Reception
typestring
Example:
sip_endpoint
created_atdate-time
Example:
2024-01-02T00:00:00Z
updated_atdate-time
Example:
2024-01-02T00:00:00Z
sip_endpoint
object
[
{
"id": "993ed018-9e79-4e50-b97b-984bd5534095",
"project_id": "1313fe58-5e14-4c11-bbe7-6fdfa11fe780",
"display_name": "Reception",
"type": "sip_endpoint",
"created_at": "2024-01-02T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"sip_endpoint": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"username": 123456,
"password": 123456,
"caller_id": 123456,
"send_as": "random",
"ciphers": [
"AEAD_AES_256_GCM_8"
],
"codecs": [
"PCMU"
],
"encryption": "optional",
"call_handler": "laml_webhooks",
"call_request_url": "https://example.com/call_handler",
"call_request_method": "POST",
"call_fallback_url": "https://example.com/call_handler",
"call_fallback_method": "POST",
"call_status_callback_url": "https://example.com/call_handler",
"call_status_callback_method": "POST",
"call_laml_application_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_ai_agent_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_flow_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_flow_version": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_dialogflow_agent_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_relay_context": "office",
"call_video_room_id": "993ed018-9e79-4e50-b97b-984bd5534095",
"call_relay_script_url": "https://example.com/relay_script",
"call_relay_script_method": "POST",
"calling_handler_resource_id": "993ed018-9e79-4e50-b97b-984bd5534095"
}
}
]
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/sip_endpoints");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear