v1

latestOpenAPI 3.1.02026-07-2414238909.1 KB

Start playing a text-to-speech message to an active call

post/voice/conversation/{messageId}/talk

Path parameters

messageIdstring required

The id of the voice call

Headers

Authorizationstring required

Bearer {access_token}

Content-Typestring required

application/json

Request body

textstring required

The text of the voice message to be played

genderstring

The gender of the voice message to be played. Check here for possible values

languagestring

The language of the voice message to be played. Check here for possible values

multiplexboolean

When set to true, the original audio is mixed together with the text-to-speech message. Default value false

Response

200

messageIdstring
messagestring
createdAtstring

Example response

{
  "messageId": "8f219e67-6fe6-4da1-aeb0-ed60273e0ea7",
  "message": "Talk started",
  "createdAt": "2018-11-02T11:55:18.012Z"
}