Create Conversation API
The Create Conversation API is used to upload and store audio files and auxiliary metadata for U-Discover processing. You can upload one audio file at a time. Currently U-Discover supports calls that has the attributes—stereo, .wav, L16 PCM, 8k Hz, US English (en-us) language.
To initiate conversation processing, use the Process Batch Conversations API.
Endpoint
Method: POST
URL: https://<<Hostname>>/uzng-gateway/v1/conversation/voice
curl --location 'https://<Host name>/uzng-gateway/v1/conversation/voice' \ --header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsIF0IjoxNzIxMjEyMDExLCJleHAiOjE3MjEyOTg0MTEsInNjb3BlIjoicmVhZDp0ZW5hbnRzIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIiwiYXpwIjoeyJhsDhg4ojQuQEZJOkkuYD1HMyFA'\ --form 'audioFile=@"-Abu4Krji/591dd74f-0007-a283-3efb90d99955.wav"' \ --form 'metaData=@"abCtg4CJe/metaData.json"'