Retrieve a SIP Endpoint
GEThttps://YOUR_SPACE.signalwire.com/api/relay/rest/endpoints/sip/:id
Retrieves the details of a SIP Endpoint that has been previously created. Use the unique ID that was returned from your previous request to identify the specific SIP Endpoint.
Permissions
The API token must include the following scopes: Voice.
Request
Responses
- 200
OK
Authorization: http
name: basic_authtype: httpscheme: basic
- 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/relay/rest/endpoints/sip/:id");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear