JSON API » recording » recording/recordings/start

Starts/unpauses a call recording. The request is asynchronous, and may take a second or two after the function returns.

The recording will take place according to the telephone on the call, and its configured call recording group.

Input parameters

Requires authentication and the actions or panel role privilege. User must also be an administrator, owner of a telephone line involved, or allowed to use any telephone line.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
uniqueidStringUniqueid of call.Yes
channelInteger1 to use the calling channel (calling telephone), 2 to use the called channel (called telephone).No1

Responses

CodeDescription
204Recording start/unpause successfully requested.
400Invalid input parameters specified. Check the key and message fields for more details.
401The authentication details provided are invalid.
402Your role does not allow this.
403Your rate plan does not allow this.
404The call does not exist, or you do not have permission to view it.

Data returned

No data is returned.

Example: With required and optional parameters

http://enswitch.example.com/api/json/recording/recordings/start/?auth_username=user;auth_password=password;uniqueid=1234567890.123456;channel=2

{ "responses":[ { "code":"204", "key":"", "message":"OK" } ] }

Change history

VersionChanges
4.1Function added.