Skip to navigation

Send voice message

Sends a voice message into a chat session. The audio is sent as base64 in the JSON body.

Authentication

api-keystring

Your Atlas API key. Get it from the Atlas Portal under Settings > API Keys.

Path parameters

campaignIdstringRequired
ID of the campaign.

Request

This endpoint expects an object.
sessionIdstringRequired
audioDatastringRequired

Base64-encoded audio data

audioContentTypeenumRequired
Allowed values:

Response

Voice message sent

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error