Record
The following actions can be performed with the Conference/Record APIs:
BaseURI: https://api.plivo.com/v1/Account/{auth_id}/Conference/{conference_id}/Record/
Start Recording a Conference
URI: <BaseURI> Method: POST
Parameters
There are no mandatory parameters for this API. The following optional parameters can be specified:
Optional Parameters
| Parameter | Description |
|---|---|
file_format |
The file format of the record can be of mp3 or wav format. Defaults to mp3 format. |
transcription_type |
The type of transcription required. The following values are allowed:
|
transcription_url |
The URL where the transcription is available. |
transcription_method |
The method used to invoke the transcription_url. Defaults to POST. |
callback_url |
The URL invoked by the API when the recording ends. The following parameters are sent to the callback_url:
|
callback_method |
The method which is used to invoke the callback_url URL. Defaults to POST. |
Response
HTTP status: 202
JSON:
{
"url": "http://s3.amazonaws.com/plivocloud/c7b71d14-58be-11e1-b7e1-ffca7d3abcc0.mp3",
"message": "conference recording started",
"api_id": "2867b6e2-58c3-11e1-86da-adf28403fe48"
}
JSON:
{
"record_url": "http://s3.amazonaws.com/plivocloud/c7b71d14-58be-11e1-b7e1-ffca7d3abcc0.mp3",
"conference_name": "myroom",
"message": "record_done",
"api_id": "2867b6e2-58c3-11e1-86da-adf28403fe48"
}
Stop Recording a Conference
URI: <BaseURI> Method: DELETE
Parameters
NoneResponse
HTTP status: 204
JSON:
{
"message": "conference recording stopped",
"api_id": "2867b6e2-58c3-11e1-86da-adf28403fe48"
}
Asynchronous Mode
All Plivo APIs can be invoked in asynchronous mode with the inclusion of the callback_url parameter.
Note: In asynchronous mode, you will only get back a response with the api_id.
The response is sent to the callback_url which is fired immediately after execution of the Plivo API.
See API Request and API Response for more information.
Asynchronous Parameters
| Parameter | Description |
|---|---|
callback_url |
The URL that is notified by the API when the response is available and to which the response is sent. |
callback_method |
The method used to notify the callback_url URL. Defaults to POST. |
Asynchronous Response
The Asynchronous Response is sent in json format in the response field.
See the API Response section for more information.


