v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Start recording an active call

post/voice/conversation/{messageId}/record

Path parameters

messageIdstring required

The id of the voice call

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Request body

durationinteger

The duration for each record that the user can perform

formatstring

The record can have a format of a "MP3" or a "WAV" file.

Response

200

messageIdstring
messagestring
createdAtstring

Example response

{
  "messageId": "6543f70a-7f48-44d3-97e7-e27ef14b7cf6",
  "message": "Record started",
  "createdAt": "2018-11-02T10:42:27.97Z"
}