Skip to main content

Update a Call

PUT 

https://{Your_Space_Name}.signalwire.com/api/calling/calls

To update an existing Call, you send a PUT request to the Call resource with a payload including an update command and additional nested params.

Request

Responses

The request has succeeded.

Authorization: http

name: BasicAuthtype: httpscheme: basic
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://{Your_Space_Name}.signalwire.com/api/calling/calls");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"command\": \"update\",\n \"params\": {\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"fallback_url\": \"https://example.com/fallback\",\n \"status\": \"canceled\",\n \"url\": \"https://example.com/swml\"\n }\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://{Your_Space_Name}.signalwire.com/api/calling
Auth
Body required
{
  "command": "update",
  "params": {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "fallback_url": "https://example.com/fallback",
    "status": "canceled",
    "url": "https://example.com/swml"
  }
}
ResponseClear

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