Skip to navigation

SetSenderVoice

View as Markdown

Assign a voice to a sender (LinkedIn account). Provide exactly one of predefinedVoiceId, customVoiceId or elevenLabsVoiceId. An ElevenLabs voice is assigned by its voiceId from GetElevenLabsVoices as customVoiceId, or by its ElevenLabs id as elevenLabsVoiceId, which is looked up in the workspace’s imported library; ElevenLabs itself is not called. A voice with an availableUntil date can still be assigned until that date.

Errors

  • 400 VOICE_SELECTION_INVALID, CUSTOM_VOICE_NOT_READY, PREDEFINED_VOICE_UNAVAILABLE or ELEVENLABS_VOICE_OTHER_WORKSPACE.
  • 403 NO_ACTIVE_SUBSCRIPTION, VOICE_NOTES_NOT_ENABLED, or ELEVENLABS_NOT_ENABLED for an ElevenLabs voice.
  • 404 LINKEDIN_ACCOUNT_NOT_FOUND, CUSTOM_VOICE_NOT_FOUND, ELEVENLABS_VOICE_NOT_FOUND or ELEVENLABS_VOICE_ACCESS_DENIED.
  • 409 ELEVENLABS_NOT_CONNECTED.

Path parameters

accountIdintegerRequired

Headers

X-API-KEYstringOptional

API key header using this scheme. Example: “X-API-KEY: {API_KEY}”

Request

This endpoint expects an object.
predefinedVoiceIdinteger or nullOptional
customVoiceIdinteger or nullOptional

A cloned voice, or an imported ElevenLabs voice (voiceId from GetElevenLabsVoices).

elevenLabsVoiceIdstring or nullOptional
An ElevenLabs voice id that is in the workspace's imported library.

Errors

400
Set Sender Voice Voice Request Bad Request Error
403
Set Sender Voice Voice Request Forbidden Error
404
Set Sender Voice Voice Request Not Found Error
409
Set Sender Voice Voice Request Conflict Error