Update recording on a call
POST/texml/Accounts/:account_sid/Calls/:call_sid/Recordings/:recording_sid.json
Updates recording resource for particular call.
Request
Path Parameters
account_sid stringrequired
The id of the account the resource belongs to.
call_sid stringrequired
The CallSid that identifies the call to update.
recording_sid uuidrequired
Uniquely identifies the recording by id.
- application/x-www-form-urlencoded
Body
Update call recording on a call.
Status string
Possible values: [in-progress
, paused
, stopped
]
Responses
200: Successful call recording create response
- application/json
404: Resource not found
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"account_sid": "61bf923e-5e4d-4595-a110-56190ea18a1b",
"call_sid": "v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA",
"conference_sid": "cd5a70f4-759b-4d5e-9c06-88c00f16f3c1",
"channels": 1,
"date_created": "Fri, 11 Aug 2023 19:12:11 +0000",
"date_updated": "Fri, 11 Aug 2023 19:12:11 +0000",
"start_time": "Fri, 11 Aug 2023 19:12:11 +0000",
"price": "0.10",
"price_unit": "USD",
"duration": "12",
"sid": "e9cea0be-7dbd-4b98-98b1-c0089d9d43b0",
"source": "StartCallRecordingAPI",
"error_code": null,
"track": "inbound",
"uri": "/v2/texml/Accounts/61bf923e-5e4d-4595-a110-56190ea18a1b/Calls/v3:KBnLO0ZK3DhKM5s7bE9VluaSmKsOchKht_fUYvxcp8ysbmzCCtpkmA/Recordings/b08f0fa1-a32c-4218-b3b5-9cf78941ccac.json"
}
{
"errors": [
{
"detail": "Resource not found"
}
]
}