Wavix Speech Analytics API

Call transcription and speech analytics

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

POST /v1/speech-analytics Upload a file #
GET /v1/speech-analytics/{request_id} Retrieve a speech analytics transcription #
PUT /v1/speech-analytics/{request_id} Retranscribe a file #
GET /v1/speech-analytics/{request_id}/file Retrieve the original file #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/wavix-com:wavix-com-speech-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

wavix-com-speech-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavix Speech Analytics API
  description: Wavix provides robust APIs that let you integrate voice and text messaging features directly into your app. Send text, place calls, and access detailed reports programmatically.
  termsOfService: https://wavix.com/terms-and-conditions
  license:
    name: MIT
    identifier: MIT
  contact:
    name: Wavix
    url: https://wavix.com
    email: support@wavix.com
  version: 3.2.0
servers:
- url: https://api.wavix.com
  description: https://api.wavix.com
  variables: {}
security:
- bearerAuth: []
tags:
- name: Speech Analytics
  description: Call transcription and speech analytics
paths:
  /v1/speech-analytics:
    post:
      tags:
      - Speech Analytics
      summary: Upload a file
      description: 'Uploads an audio file for transcription. Transcription is asynchronous; Wavix sends a POST callback to `callback_url` when it completes, including the `request_id` returned by this request.


        Callback body:

        ```json

        {

        "request_id": "e865ea07-25af-4fdd-876e-04b0d41d5ebd",

        "status": "completed",

        "error": null

        }

        ```


        - `request_id`: ID of the transcription request.

        - `status`: One of `completed` (transcription succeeded) or `failed` (transcription encountered an error).

        - `error`: Error description, or `null` when the transcription succeeded.'
      operationId: speech_analytics_create
      security:
      - bearerAuth:
        - calls:write
      x-fern-sdk-group-name:
      - speechAnalytics
      x-fern-sdk-method-name: create
      x-mcp:
        readOnly: false
        destructive: false
        openWorld: true
        expose: false
        toolset: voice_history
      parameters: []
      requestBody:
        content:
          multipart/form-data:
            encoding: {}
            schema:
              required:
              - file
              - callback_url
              type: object
              additionalProperties: false
              properties:
                file:
                  type: string
                  description: Audio file to transcribe. Maximum size is 25 MB. Supported formats are WAV, MP3, and MP4 stereo.
                  format: binary
                callback_url:
                  type: string
                  description: URL that receives the POST callback when transcription completes.
                  example: https://you-site.com/webhook
                insights:
                  type: boolean
                  description: When `true`, generates conversation insights alongside the transcript.
                  example: true
        required: false
      responses:
        '200':
          description: Returns the transcription `request_id` for the uploaded file.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitFileTranscriptionResponse'
              examples:
                default:
                  value:
                    file: file.mp3
                    request_id: e865ea07-25af-4fdd-876e-04b0d41d5ebd
                    success: true
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '422':
          $ref: '#/components/responses/ValidationErrorResponse'
      deprecated: false
  /v1/speech-analytics/{request_id}:
    get:
      tags:
      - Speech Analytics
      summary: Retrieve a speech analytics transcription
      description: Returns the transcription for the request identified by `request_id`, including transcript, speaker turns, and insights when available.
      operationId: speech_analytics_get
      security:
      - bearerAuth:
        - calls:read
      x-fern-sdk-group-name:
      - speechAnalytics
      x-fern-sdk-method-name: get
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: true
        toolset: voice_history
      parameters:
      - name: request_id
        in: path
        description: The `request_id` of the transcription, returned when the file was uploaded.
        required: true
        style: simple
        schema:
          type: string
          example: e865ea07-25af-4fdd-876e-04b0d41d5ebd
      responses:
        '200':
          description: Returns the completed transcription.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileTranscriptionResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    transcript:
                      channel_1: Hi there
                      channel_2: Hello
                    turns:
                    - speaker: channel_1
                      s: 600
                      e: 700
                      text: Hi
                      sentiment: positive
                    request_id: e84f350f-6da7-4b56-80eb-41dec572626b
                    language: en
                    duration: 102
                    charge: '0.01'
                    status: completed
                    transcription_date: '2023-01-09T10:04:39.734Z'
                    transcription_score: '3.8'
                    transcription_summary: The agent and client discussed call recording and call transcription
                    original_file: https://api.wavix.com/v1/files/uuid
        '202':
          description: Accepted. The transcription is still in progress.
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates whether the request was accepted.
                    example: true
                  status:
                    type: string
                    enum:
                    - pending
                    description: Machine-readable transcription status.
                    example: pending
                  message:
                    type: string
                    description: Human-readable status message.
                    example: The transcription is still pending
                  poll_after:
                    type: integer
                    description: Suggested number of seconds to wait before polling this endpoint again.
                    example: 5
              examples:
                default:
                  value:
                    success: true
                    status: pending
                    message: The transcription is still pending
                    poll_after: 5
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
    put:
      tags:
      - Speech Analytics
      summary: Retranscribe a file
      description: Re-runs transcription on the file identified by `request_id`, replacing the existing transcript.
      operationId: speech_analytics_retranscribe
      security:
      - bearerAuth:
        - calls:write
      x-fern-sdk-group-name:
      - speechAnalytics
      x-fern-sdk-method-name: retranscribe
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        toolset: voice_history
      parameters:
      - name: request_id
        in: path
        description: The `request_id` of the transcription, returned when the file was uploaded.
        required: true
        style: simple
        schema:
          type: string
          example: e865ea07-25af-4fdd-876e-04b0d41d5ebd
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SpeechAnalyticsRetranscribeRequest'
        required: true
      responses:
        '200':
          description: Returns a success confirmation. Retranscription is queued.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuccessResponse'
              examples:
                default:
                  value:
                    success: true
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '422':
          $ref: '#/components/responses/ValidationErrorResponse'
      deprecated: false
  /v1/speech-analytics/{request_id}/file:
    get:
      tags:
      - Speech Analytics
      summary: Retrieve the original file
      description: Returns the original audio file submitted for the transcription identified by `request_id`.
      operationId: speech_analytics_file_get
      security:
      - bearerAuth:
        - calls:read
      x-fern-sdk-group-name:
      - speechAnalytics
      - file
      x-fern-sdk-method-name: get
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: false
        toolset: calls
      parameters:
      - name: request_id
        in: path
        description: The `request_id` of the transcription, returned when the file was uploaded.
        required: true
        style: simple
        schema:
          type: string
          example: e865ea07-25af-4fdd-876e-04b0d41d5ebd
      responses:
        '200':
          description: Returns the original audio file.
          content:
            audio/wav:
              schema:
                type: string
                format: binary
            audio/mpeg:
              schema:
                type: string
                format: binary
            audio/mp4:
              schema:
                type: string
                format: binary
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
webhooks:
  AudioFileTranscriptionCompleted:
    post:
      summary: Audio file transcription completed
      operationId: audio_file_transcription_completed
      security: []
      description: Sends a notification when an audio file transcription is complete.
      tags:
      - Speech Analytics
      requestBody:
        description: Callback payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileTranscriptionCompletedWebhook'
      responses:
        '200':
          description: Return a 200 status to indicate that the data was successfully received
  CallTranscriptionCompleted:
    post:
      summary: Call transcription completed
      operationId: call_transcription_completed
      security: []
      description: Sends a notification when a call transcription is complete.
      tags:
      - Speech Analytics
      requestBody:
        description: Callback payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CDRTranscriptionCompletedWebhook'
      responses:
        '200':
          description: Return a 200 status to indicate that the data was received.
components:
  schemas:
    ValidationErrorResponse:
      title: ValidationErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description naming the missing or invalid request parameter.
          example: Missing or invalid parameter <param_name>
    TranscriptionLanguage:
      title: TranscriptionLanguage
      enum:
      - en
      - de
      - es
      - fr
      - it
      - null
      type:
      - string
      - 'null'
      description: Language of the transcription, as a two-letter ISO 639-1 code. One of `en` (English), `de` (German), `es` (Spanish), `fr` (French), or `it` (Italian). `null` lets the platform auto-detect the language.
    FileTranscriptionCompletedWebhook:
      title: FileTranscriptionCompletedWebhook
      required:
      - request_id
      - status
      - error
      type: object
      additionalProperties: false
      properties:
        request_id:
          type: string
          description: Transcription request ID
          example: e865ea07-25af-4fdd-876e-04b0d41d5ebd
        status:
          type: string
          description: Outcome of the transcription. One of `completed` (the transcript was produced) or `failed` (the transcription could not be produced).
          example: completed
        error:
          type:
          - string
          - 'null'
          description: A human-readable error description, if any
    FileTranscriptionResponse:
      title: FileTranscriptionResponse
      required:
      - transcript
      - turns
      - request_id
      - language
      - duration
      - charge
      - status
      - transcription_date
      - transcription_score
      - transcription_summary
      - original_file
      type: object
      additionalProperties: false
      properties:
        transcript:
          description: Complete transcription text attributed to each channel.
          oneOf:
          - $ref: '#/components/schemas/FileTranscriptResponse'
          - type: 'null'
        turns:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/FileTranscriptTurn'
          description: List of transcription turns, including speaker attribution, timestamps, and sentiment.
          example:
          - speaker: channel_1
            s: 600
            e: 700
            text: Hi
            sentiment: positive
        request_id:
          type: string
          description: Transcription request ID.
          example: e84f350f-6da7-4b56-80eb-41dec572626b
        language:
          $ref: '#/components/schemas/TranscriptionLanguage'
          description: Transcription language.
          example: en
          type:
          - string
          - 'null'
        duration:
          type:
          - integer
          - 'null'
          description: File duration in seconds.
          format: int32
          example: 102
        charge:
          type: string
          description: Total transcription charge in USD.
          example: '0.01'
        status:
          $ref: '#/components/schemas/TranscriptionStatus'
          description: Transcription status. Possible values are `completed`, `failed`.
          example: completed
          type: string
        transcription_date:
          type: string
          description: Date and time of the transcription in ISO 8601 format.
          format: date-time
          example: '2023-01-09T10:04:39.734Z'
        transcription_score:
          type:
          - string
          - 'null'
          description: Conversation sentiment score. Scores from 1.0 to 3.0 are negative; scores from 4.0 to 5.0 are positive.
          example: '3.8'
        transcription_summary:
          type:
          - string
          - 'null'
          description: Transcription summary.
          example: The agent and client discussed call recording and call transcription
        original_file:
          type: string
          description: Uploaded file URL.
          example: https://api.wavix.com/v1/files/uuid
    TranscriptionStatus:
      title: TranscriptionStatus
      enum:
      - completed
      - failed
      type: string
      description: Outcome of the transcription. One of `completed` (the transcript was produced) or `failed` (the transcription could not be produced).
    SpeechAnalyticsRetranscribeRequest:
      type: object
      additionalProperties: false
      required:
      - callback_url
      properties:
        callback_url:
          type: string
          description: Callback URL for transcription status updates.
          example: https://you-site.com/webhook
        insights:
          type: boolean
          description: Indicates whether to enable insights generation.
          example: true
    SuccessResponse:
      title: SuccessResponse
      required:
      - success
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful.
          example: true
    UnauthorizedErrorResponse:
      title: UnauthorizedErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        error:
          type: boolean
          description: Indicates that the response represents an error. Always `true` for this error.
          example: true
        message:
          type: string
          description: Human-readable description stating that authentication is missing or invalid.
          example: Unauthorized
    NotFoundErrorResponse:
      title: NotFoundErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description stating that no resource matches the given ID.
          example: Record not found
    CDRTranscriptionCompletedWebhook:
      title: CDRTranscriptionCompletedWebhook
      required:
      - uuid
      - status
      type: object
      additionalProperties: false
      properties:
        uuid:
          type: string
          description: Call UUID
          example: 99df5ffd-962a-410f-bcce-d08f1f7f328c
        status:
          type: string
          description: Outcome of the transcription. One of `completed` (the transcript was produced) or `failed` (the transcription could not be produced).
          enum:
          - completed
          - failed
          example: completed
    FileTranscriptTurn:
      title: FileTranscriptTurn
      required:
      - speaker
      - s
      - e
      - text
      - sentiment
      type: object
      additionalProperties: false
      properties:
        speaker:
          type: string
          description: Speaker identifier.
          example: channel_1
        s:
          type: integer
          description: Turn start time in milliseconds from the beginning of the file.
          format: int32
          example: 3000
        e:
          type: integer
          description: Turn end time in milliseconds from the beginning of the file.
          format: int32
          example: 18000
        text:
          type: string
          description: Transcription text attributed to the speaker.
          example: Hi there, how are you?
        sentiment:
          type: string
          description: Sentiment associated with the turn. Possible values are `positive`, `neutral`, `negative`.
          example: positive
      description: Transcription `turn` details, including speaker, timestamps, text, and sentiment.
      example:
        speaker: channel_1
        s: 600
        e: 700
        text: Hi there
        sentiment: positive
    SubmitFileTranscriptionResponse:
      title: SubmitFileTranscriptionResponse
      required:
      - file
      - request_id
      - success
      type: object
      properties:
        file:
          type: string
          description: Uploaded file name.
          example: file.mp3
        request_id:
          type: string
          description: Transcription request ID.
          example: e865ea07-25af-4fdd-876e-04b0d41d5ebd
        success:
          type: boolean
          description: Indicates whether the request was successful.
          example: true
      example:
        file: file.mp3
        request_id: e865ea07-25af-4fdd-876e-04b0d41d5ebd
        success: true
    ForbiddenErrorResponse:
      title: ForbiddenErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description of why access is forbidden.
          example: The service is not provisioned for your account.
    FileTranscriptResponse:
      title: FileTranscriptResponse
      required:
      - channel_1
      - channel_2
      type: object
      additionalProperties: false
      properties:
        channel_1:
          type: string
          description: Transcription of speaker one.
          example: Hi there
        channel_2:
          type: string
          description: Transcription of speaker two.
          example: Hello
  responses:
    NotFoundErrorResponse:
      description: Request failed. An object with the specified ID is not found.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundErrorResponse'
    ValidationErrorResponse:
      description: Validation error
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    UnauthorizedErrorResponse:
      description: Unauthorized
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedErrorResponse'
    ForbiddenErrorResponse:
      description: Request failed. The feature is disabled for your account.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenErrorResponse'
    BadRequestErrorResponse:
      description: Request failed. Missing or invalid parameter <param_name>
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support per-resource scopes (none / read / write). See [Restricted keys and scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).

        '