Endpoints Reference
API Key Authentication
POST /api/api-key
Generate a new API key.
Request
Response
DELETE /api/api-key
Delete the API key associated with your account.
Session Authentication
POST /api/login
Log in to an account and start a new session.
Request
Response
POST /api/logout
End your session.
Response
Calibration
POST /api/calibration
Create a new calibration.
Request
Headers:
Form data fields:
Currently the supported audio formats are wav, ogg, mp3 or flac.
Response
PUT /api/calibration/{calibration_id}/enable
Set a calibration as the default enabled calibration.
Response
POST /api/calibration/auto
Set auto as the default calibration.
Response
GET /api/calibration/{calibration_id}
Get a calibration by its ID.
Response
GET /api/calibration
Get a list of the calibrations associated with your account.
Response
A JSON list of calibrations.
DELETE /api/calibration/{calibration_id}
Delete a calibration.
Response
A response body containing the deleted calibration.
Credits
GET /api/credits
Get the credits available to your account.
Response
Projects
GET /api/projects
Get a list of your projects.
Request
Optional query parameters:
Response
POST /api/projects
Create a new project.
Request
name- The name of the project.owner- Either a user or a group ID.models- No longer used.
Response
PATCH /api/projects/{project_id}
Change the name of a project.
Request
Response
The updated project.
DELETE /api/projects/{project_id}
Delete a project.
Response
GET /api/projects/by-url
Get a project by its URL.
Request
Query parameters:
Response
A JSON object containing the project.
GET /api/projects/{project_id}/export
Export a project.
Request
Optional query parameters:
Response
The response will have a Content-Type of application/zip and the
Content-Disposition header will be an attachment with the filename
directive set to the name of the exported .zip file.
The response body contains the .zip file.
Folders
GET /api/folders
Get a list of the folders in a project.
Request
Query parameters:
Response
POST /api/folders
Create a folder.
Request
Response
PATCH /api/folders/{folder_id}
Rename a folder.
Request
name- the new name of the folder
Response
A JSON object containing the renamed folder.
DELETE /api/folders/{folder_id}
Delete a folder.
Response
GET /api/folders/{folder_id}
Get a folder by its ID.
Response
Recordings
GET /api/recordings
Get a list of recordings for a specified folder or project.
Request
Query parameters:
Response
GET /api/recordings/originals
Get a list of the original recordings in a folder.
Request
Query parameters:
Response
Same as for the GET /api/recordings endpoint.
GET /api/recordings/conversions
Get a list of the conversions for an original recording.
Request
Query parameters:
Response
Same as for the GET /api/recordings endpoint.
POST /api/recordings
Create an original recording.
Request
Headers:
Form data fields:
Currently the supported audio formats are wav, ogg, mp3 or flac.
Response
POST /api/recordings/tts
This endpoint is deprecated.
Create an original text-to-speech recording.
Request
project_idis the ID of the project the recording will belong to.parent_folder_idandlabelare the same as for audio recordings.voice_idis the ID of the TTS voice to use. You can obtain a list of the TTS voices available to you from theGET /api/tts-voicesendpoint.textis the text to be converted to speech.
Response
Same as for POST /api/recordings.
PATCH /api/recordings/{recording_id}
Update a recording.
Request
Response
A JSON object containing the updated recording.
PUT /api/recordings/{recording_id}
Same as PATCH /api/recordings/{recording_id} but all request body fields
are required.
DELETE /api/recordings/{recording_id}
Delete a recording.
Response
GET /api/recordings/export
Export all conversions for an original recording.
Request
Query parameters:
Response
The response will have a Content-Type of application/zip and the
Content-Disposition header will be an attachment with the filename
directive set to the name of the exported .zip file.
The response body contains the .zip file.
GET /api/recordings/{recording_id}
Get a recording by its ID.
Response
A JSON object containing the recording.
POST /api/v2/recordings/tts
Create an original text-to-speech recording.
Request
parent_folder_idis the ID of the folder the recording will belong to.textis the text to be converted to speech.text_language(Optional) is the language of the text. If not specified the language will be detected automatically.label(Optional) is a label for the recording.
Response
Same as for POST /api/recordings.
TTS
GET /api/tts-voices
Get a list of the available TTS voices.
Response
Notes
POST /api/notes
Request
Response
PUT /api/notes
Request
Response
A JSON object containing the updated note.
DELETE /api/notes
Delete a note.
Request
Response
A JSON object containing the deleted note.
Statistics
GET /api/stats
Get the statistics for your account.
Response
GET /api/stats/projects
Get statistics for a list of projects.
Request
Response
GET /api/stats/folders
Get statistics for a list of folders.
Request
Response
Orders
POST /api/v2/orders
Request
original_id- is the ID of the original recording to create a conversion from.conversionscontains a list of the voices and accents you wish to convert your original voice recording to. Each list item has three properties:voice_id- The ID of the voice. A list of the available voices can be obtained with theGET /api/v2/voicesendpoint.narration_style_id(Required for TTS) - The ID of the narration_style to use. Each voice has number of narration_styles that you can choose from. Narration styles used in text-to-speech conversions.accent_id(Optional) - The ID of the accent to use. Each voice has number of accents that you can choose from. Accents used in speech-to-speech conversions.semitones_correction(Optional) - The number of semitones to shift the converted output to. By default most voices will shift your voice by an number of semitones. The resultant pitch will beyour voice's pitch + default voice shift + semitones_correction. Used only in speech to speech conversion.label(Optional) - A label to identify the conversion.
use_calibration(Optional) - if you wish to use a specific calibration set this totrueand specify thecalibration_idotherwise, if it’sfalse, it will default to the currently enabled calibration on your account. Used only in speech to speech conversion.calibration_id(Optional) - contains the ID of the calibration to use. Used only in speech to speech conversion.
POST /api/v2/orders/retry/{recording_id}
Retry a conversion order for a specific original.
Voices
GET /api/v2/voices
Get a list of the voices available to you.
Request
Optional query parameters:
Response
GET /api/v2/voices/search
Search for a voice by its name.
Request
Optional query parameters:
Response
POST /api/v2/voices/favorite/{voice_id}
Mark a voice as a favorite.
Request
Response
A JSON object containing the updated voice.
POST /api/v2/voices/settings
Set the settings for a voice.
Request
Body parameters:
Response
A JSON object containing the updated voice.
Accents
GET /api/v2/accents/samples
Samples available for an accent
Request
Query parameters:
Response