Calls

Start/Pause/Resume Call Recording

POST
/v1/Calls/{sid}/recording-control

Allows starting and pausing of the Call Recording.

AuthorizationBasic <token>

Basic Authorization header using the BASIC scheme. Use a pair companySid:token to access the API.

In: header

Path Parameters

sid*string

Call Sid.

Match^(CA)[0-9a-f]{48}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Call Recording Control Request.

Response Body

curl -X POST "https://example.com/v1/Calls/string/recording-control" \  -H "Content-Type: application/json" \  -d '{    "action": "Pause"  }'
{  "status": "Recording"}
{  "errors": {    "Name": [      "The Name field is required."    ]  },  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",  "title": "One or more validation errors occurred.",  "status": 400,  "detail": "Some detailed message",  "traceId": "|4ef17786-b103-420e-89c0-cc425ac14809.edfcbee9_"}
{  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.4",  "title": "Not found",  "status": 404,  "detail": "Not found detailed message",  "traceId": "|4ef17786-b103-420e-89c0-cc425ac14809.edfcbee9_"}
{  "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",  "title": "Error title",  "detail": "Error detailed message",  "traceId": "|4ef17786-b103-420e-89c0-cc425ac14809.edfcbee9_"}