Retrieve all voices
Changed onReturns a list of voices available to your workspace, sorted from most recently created
Request
- Base URLhttps://api.jasper.ai
- URLhttps://api.jasper.ai/v1/tones
- Auth
- API key in header X-API-Key
- or OAuth 2Authorization code: https://api.jasper.ai/oauth2/authorizeToken URL: https://api.jasper.ai/oauth2/token scopes: user
Query parameters
You can use the q parameter to run a query parameter search. Query parameter search supports the following fields: name, metadata, and settings.
Supported operators: AND
The AND operator can be used to combine multiple search criteria.
NOTE: The AND operator supports a maximum of 10 operators
Available field examples:
name: value
metadata[key]:value
settings[appVisibility]:visible
metadata[key1]:value1 AND metadata[key2]:value2
The desired page number of voices
The number of voices per page to return in the response
Response
Retrieve voices
Example response
[
{
"requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
"resource": "tone",
"data": {
"name": "It's-a me, Mario!",
"value": "This voice is energetic, playful, and humorous, characterized by exclamations, wordplay, and a confident, charismatic character, with techniques including catchphrases, direct address, and hyperbole to engage and entertain the audience.",
"settings": {
"appVisibility": "visible"
},
"id": "ton_2ee766eaa4ef48e59da1d9602bfecf2d",
"createdAt": "2023-09-21T15:38:00.474Z",
"updatedAt": "2023-09-21T15:38:00.474Z",
"appUrl": "https://app.jasper.ai/jasper-iq/brand-voice/ton_2ee766eaa4ef48e59da1d9602bfecf2d"
}
}
]Changes
- breaking
the
//response's property type changed fromstringtoobjectfor status - breaking
the
//response's property type changed fromstringtoobjectfor status - info
added the optional property
//to the response with the status
- breaking