POST /{environment}/chatrooms/{id}/message-audio

Path parameters

  • id integer Required

    The chatroom id

  • environment string Required

    The environment

    Values are widget or platform.

application/x-www-form-urlencoded

Body Required

  • audio string(binary)

    The audio file

Responses

  • 400

    Bad Request - The video cannot be uploaded

  • 403

    Forbidden - You don't have permission to access this route

POST /{environment}/chatrooms/{id}/message-audio
curl \
 --request POST 'https://domain.tld/api/v2/widget/chatrooms/{id}/message-audio' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'audio=%40file'