API URL: https://platform.blits.ai/api/external/messages/<YOUR_CONVERSATION_ID>/speech
With this POST request a message can be send to the bot. Please follow the following steps to do so.
This is the output of the POST Conversation ID API. Please put the value between two forward slashes so that <YOUR_CONVERSATION_ID> is replaced.
To set this up, the above API URL is need together with the authorization header. The header should have the following format:
The key can be obtained from the API settings on the settings page of your bot under the JSON Web Token:
The body should contain the audio document on .WAV format.
The APIs .JSON response should look like this:
"displayText": "Send your document",
"textToSpeech": "Send your document"