Wavix Call recording API
Call recording
Call recording
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/wavix-com:wavix-com-call-recording-api"
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.
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: 3.2.0
info:
title: Wavix Call recording 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: Call recording
description: Call recording
paths:
/v1/recordings:
get:
tags:
- Call recording
summary: List call recordings
description: Returns a paginated list of call recordings for the authenticated account, filtered by date range, number, call, or SIP trunk.
operationId: call_recording_list
security:
- bearerAuth:
- recordings:read
x-fern-sdk-group-name:
- callRecording
x-fern-sdk-method-name: list
x-mcp:
readOnly: true
destructive: false
openWorld: false
expose: true
toolset: voice_history
parameters:
- name: from_date
in: query
description: Start of the date range to query, in `YYYY-MM-DD` format. Inclusive.
required: false
style: form
explode: true
schema:
type: string
format: date
example: '2023-01-01'
- name: to_date
in: query
description: End of the date range to query, in `YYYY-MM-DD` format. Inclusive.
required: false
style: form
explode: true
schema:
type: string
format: date
example: '2023-12-31'
- name: from
in: query
description: Filters recordings by originating phone number. Accepts a full or partial number.
required: false
style: form
explode: true
schema:
type: string
example: '123456'
- name: to
in: query
description: Filters recordings by destination phone number. Accepts a full or partial number.
required: false
style: form
explode: true
schema:
type: string
example: '1987654321'
- name: call_uuid
in: query
description: Filters recordings by the unique call ID.
required: false
style: form
explode: true
schema:
type: string
example: aa566501-c591-4a8b-b3b9-cc1295398b72
- name: sip_trunks
in: query
description: Filters recordings of outbound calls placed through the listed SIP trunk logins.
required: false
style: form
explode: true
schema:
type: array
items:
type: string
example:
- '123'
- '456'
- name: page
in: query
description: Page number to retrieve. Default `1`.
style: form
explode: true
schema:
type: integer
format: int32
example: 1
- name: per_page
in: query
description: Number of records to return per page. Default `25`.
style: form
explode: true
schema:
type: integer
format: int32
default: 25
example: 25
responses:
'200':
description: Returns a paginated list of call recordings.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/CallRecordingListResponse'
examples:
success:
summary: Successful response
value:
recordings:
- id: 123
created_at: '2023-06-15T10:30:00Z'
duration: 120
from: '1234567890'
to: 0987654321
call_uuid: aa566501-c591-4a8b-b3b9-cc1295398b72
url: https://api.wavix.com/v1/recordings/uuid
invalid:
dids:
- invalid_did_1
- invalid_did_2
sip_trunks:
- invalid_trunk_1
- invalid_trunk_2
pagination:
current_page: 2
per_page: 25
total: 101
total_pages: 5
'400':
$ref: '#/components/responses/BadRequestErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
deprecated: false
/v1/recordings/{call_id}:
get:
tags:
- Call recording
summary: Retrieve a recording by call ID
description: Redirects to the recording file for the call identified by `call_id`. The download URL is returned in the `Location` header.
operationId: call_recording_get_by_call
security:
- bearerAuth:
- recordings:read
x-fern-sdk-group-name:
- callRecording
x-fern-sdk-method-name: getByCall
x-mcp:
readOnly: true
destructive: false
openWorld: false
expose: false
toolset: voice_history
parameters:
- name: call_id
in: path
description: The unique ID of the call whose recording is retrieved.
required: true
style: simple
explode: false
schema:
type: string
example: aa566501-c591-4a8b-b3b9-cc1295398b72
responses:
'200':
description: Redirects to the recording file. The URL is in the `Location` header.
headers:
Location:
description: Download URL of the recording file.
schema:
type: string
example: https://api.wavix.com/v1/recordings/uuid
'400':
description: Returns when the recording has already been deleted.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingDeletedErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'404':
$ref: '#/components/responses/NotFoundErrorResponse'
deprecated: false
/v1/recordings/{id}:
get:
tags:
- Call recording
summary: Retrieve a recording
description: Returns the call recording identified by `id`, including its metadata and download URL.
operationId: call_recording_get
security:
- bearerAuth:
- recordings:read
x-fern-sdk-group-name:
- callRecording
x-fern-sdk-method-name: get
x-mcp:
readOnly: true
destructive: false
openWorld: false
expose: true
toolset: voice_history
parameters:
- name: id
in: path
description: The unique ID of the call recording.
required: true
style: simple
explode: false
schema:
type: integer
format: int32
example: 123
responses:
'200':
description: Returns the call recording.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/Recording'
examples:
success:
summary: Successful response
value:
id: 123
created_at: '2023-06-15T10:30:00Z'
duration: 120
from: '1234567890'
to: 0987654321
call_uuid: aa566501-c591-4a8b-b3b9-cc1295398b72
url: https://api.wavix.com/v1/recordings/uuid
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'404':
$ref: '#/components/responses/NotFoundErrorResponse'
deprecated: false
delete:
tags:
- Call recording
summary: Delete a call recording
description: Deletes the call recording identified by `id`. Deletion is permanent — the audio file is unrecoverable.
operationId: call_recording_delete
security:
- bearerAuth:
- recordings:write
x-fern-sdk-group-name:
- callRecording
x-fern-sdk-method-name: delete
x-mcp:
readOnly: false
destructive: true
openWorld: false
expose: true
toolset: voice_history
parameters:
- name: id
in: path
description: The unique ID of the call recording.
required: true
style: simple
explode: false
schema:
type: integer
format: int32
example: 123
responses:
'200':
description: Returns a success confirmation. The recording is deleted.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessResponse'
examples:
default:
value:
success: true
'400':
description: Returns when the recording has already been deleted.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/RecordingDeletedErrorResponse'
'401':
$ref: '#/components/responses/UnauthorizedErrorResponse'
'403':
$ref: '#/components/responses/ForbiddenErrorResponse'
'404':
$ref: '#/components/responses/NotFoundErrorResponse'
deprecated: false
components:
schemas:
Recording:
title: Recording
required:
- id
- created_at
- duration
- from
- to
- call_uuid
- url
type: object
additionalProperties: false
properties:
id:
type: integer
format: int32
description: Recording ID.
example: 123
created_at:
type: string
format: date-time
description: Date and time when the recording was created in ISO 8601 format.
example: '2023-06-15T10:30:00Z'
duration:
type: integer
format: int32
description: Recording duration in seconds.
example: 120
from:
type: string
description: Originating phone number.
example: '1234567890'
to:
type: string
description: Destination phone number.
example: 0987654321
call_uuid:
type: string
description: Call ID.
example: aa566501-c591-4a8b-b3b9-cc1295398b72
url:
type: string
description: Recording file URL.
example: https://api.wavix.com/v1/recordings/uuid
description: A call recording response
RecordingDeletedErrorResponse:
title: RecordingDeletedErrorResponse
type: object
required:
- success
- message
properties:
success:
type: boolean
description: Indicates whether the request was successful. Always `false` for this error.
example: false
error:
type: boolean
description: Error flag. Always `true` for this error.
example: true
message:
type: string
description: Human-readable explanation of why the recording is unavailable.
example: deleted due to the retention policy settings
deleted_at:
type: string
format: date-time
description: Timestamp when the recording was deleted, in ISO 8601 format.
example: '2023-06-15T10:30:00Z'
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>
CallRecordingListResponse:
type: object
additionalProperties: false
properties:
recordings:
type: array
description: Call recordings that match the request.
items:
$ref: '#/components/schemas/Recording'
invalid:
$ref: '#/components/schemas/InvalidRecording'
pagination:
$ref: '#/components/schemas/Pagination'
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
Pagination:
title: Pagination
required:
- current_page
- per_page
- total
- total_pages
type: object
additionalProperties: false
properties:
current_page:
type: integer
description: Current page number.
format: int32
example: 2
per_page:
type: integer
description: Number of records per page.
format: int32
example: 25
total:
type: integer
description: Total number of records.
format: int32
example: 101
total_pages:
type: integer
description: Total number of pages.
format: int32
example: 5
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.
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
InvalidRecording:
title: InvalidRecording
type: object
additionalProperties: false
properties:
dids:
type: array
items:
type: string
description: Phone number IDs that did not match any recording.
example:
- invalid_did_1
- invalid_did_2
sip_trunks:
type: array
items:
type: string
description: SIP trunk IDs that did not match any recording.
example:
- invalid_trunk_1
- invalid_trunk_2
description: An invalid recording filter response
responses:
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'
NotFoundErrorResponse:
description: Request failed. An object with the specified ID is not found.
headers: {}
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundErrorResponse'
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).
'