TryzenAPI
Voices

Assign a voice to a sender

PUT
/v1/senders/{senderId}/voice

Access: an API key (or an org-wide key naming the workspace) with manage on senders.

{ voiceId } for a voice of the library, { includedVoiceId } for an included one (added to the library on first use), { voiceId: null } to unassign.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

senderId*string
Match^[0-9a-f]{24}$

Request Body

application/json
  1. body
voiceId*|null

Response Body

Default Response

application/json
  1. response
voice*|null
Example Request
curl -X PUT 'https://api.tryzen.co/v1/senders/string/voice' \  -H 'Content-Type: application/json' \  -d '{  "voiceId": "string"}'
Example Response
{  "voice": {    "id": "string",    "name": "string"  }}