Get Call by SID
This request returns data for a call, targeted by its secure ID.
| get | /calls/{call_sid} |
The call_sid must be passed in the path arguments.
info
The call must have the delay parameter value set to more than 0, i.e., it must be set for the future.
Example Request
An example GET request to get a call, targeted by its secure ID:
curl -X GET \
'https://api.carrierx.com/flexml/v1/calls/9dc690bb-a627-4af6-95be-0e259250d8df' \
-u 'flexml_user_123:qwerty123'
Example Response
200 status code with a serialized copy of the Call object:
{
"account_sid": "1d4adc32-45d1-4789-9780-928049e2bce1",
"attributes": {},
"call_sid": "9dc690bb-a627-4af6-95be-0e259250d8df",
"called_did": "15162065317",
"calling_did": "15162065319",
"date_created": "2018-10-16T21:56:49.000Z",
"delay": 9916,
"method": "POST",
"status_callback_method": "POST",
"status_callback_url": null,
"url": null
}
This request is enabled for Field Filtering.
Path Arguments
| Parameter | Data Type | Description |
|---|---|---|
| call_sid read only | string | The call secure ID. |