The Wavix Speech Analytics API is available exclusively for Flex Pro users.
Prerequisites
Before you can access the Wavix Speech Analytics API, sign up for Wavix.Create a Wavix account
- Sign up for a Wavix account using your business email address.
- Confirm your email address and phone number during the sign-up process.
- Wait for your account to be approved by the Wavix team.
- After approval, choose either the Wavix Flex or Flex Pro account level.
Find your API key
Wavix uses API keys to authenticate requests. To find API keys associated with your account:- Sign in to your Wavix account.
- Go to Administration → API Keys.
- Copy the API key you want to use, or create a new one by clicking Create new.
Submit a file for transcription
To submit a file for transcription, use the method described below:file
- binary file contentcallback_url
- a webhook URL to send the transcription status updates to
file
- the name of the file uploadedrequest_id
- unique identifier of the transcription requestsuccess
- indicates the file was successfully uploaded and submitted for transcription
request_id
- unique identifier of the transcription request.status
- status of the file transcription.error
- a human-readable error message, or ‘null’ if no errors occurred.
Query a specific file transcription
You can request a specific file transcription using the method belowuuid
- unique identifier of the transcription request
If successful, the method returns the “HTTP 200 OK” status code. The response will contain the full transcription of the submitted file. The transcription will be divided into blocks of text attributed to one of the speakers. Every block includes the start and end time when it was said. The time is provided in milliseconds and calculated from the beginning of the file.
transcript
- complete file transcription, with text attributed to each channel.turns
- an array ofturn
objects. Eachturn
object contains text attributed to an identified speaker along with the start and end times for that text and identified sentiment.request_id
- unique identifier of the transcription request.language
- a language used in the transcription.duration
- duration of the uploaded file, in seconds.charge
- total charge for the transcription, in USD.status
- transcription status, which can be either ‘completed’ or ‘failed’.transcription_date
- the date and time of the transcriptiontranscription_score
- indicates whether the conversation was positive, negative, or neutral. Scores ranging from 1.0 to 3.0 indicate negative conversation and 4.0 to 5.0 indicate positive.transcription_summary
- a concise summary of the transcribed conversation.original_file
- URL to the uploaded file.
How to submit a file for re-transcription
In cases when you need to resubmit a previously submitted file for transcription use the method belowuuid
- unique identifier of the transcription request.
callback_url
- a webhook URL to send the transcription status updates to.
HTTP 200 OK
status code.
request_id
- unique identifier of transcription request.status
- status of file transcription.error
- a human-readable error message, ‘null’ if no errors.