create_voicememo_message
Create a voice memo from text via text-to-speech or a public audio URL, then file it in a folder or workspace.
Instructions
Create a voice memo, either from text (spoken via text-to-speech) or from an audio file at a URL.
USE WHEN: Pass transcript (2-5000 chars) to have Carbon Voice speak the text, or an https audio_url to upload audio, which wins over transcript. File it with folder_id, whose type must match, or a workspace_id.
USE INSTEAD: create_conversation_message to post into an existing conversation, or create_direct_message to send to specific people. A voice memo is standalone and lives in a folder or workspace.
EXAMPLE: {"transcript":"Reminder to review the pricing deck before Friday."}
RETURNS: {message: {id, link, transcript?, audio_url?, duration_ms, status, type, created_at, ...}}. status is often processing at first.
ERROR INVALID_AUDIO_URL: audio_url is not https, unreachable, too large, timed out, embeds credentials, or resolves to a private address. — The message gives the reason. Use a public https URL, or pass transcript instead.
ERROR BAD_REQUEST: None of transcript, audio_url or links was provided, or the transcript is outside 2-5000 characters. — Provide one of the three, and keep the transcript within the length limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | Link URLs to attach. Max 100, and each must be a valid URL. One of `transcript`, `links` or `audio_url` is required. | |
| audio_url | No | Public **https** URL to an audio file to upload. Supported formats: .mp3, .m4a, .wav, .aac, .ogg, .flac, .wma, .opus, .webm. Overrides `transcript` when provided. The server fetches this URL, so it must be publicly reachable — private, loopback and link-local addresses are refused, and plain http only works for hosts the operator has allowlisted. | |
| folder_id | No | Folder to file the memo in. The folder type must match the memo type. | |
| transcript | No | Text to speak via text-to-speech. 2-5000 characters. Ignored when `audio_url` is provided. One of `transcript`, `links` or `audio_url` is required. | |
| workspace_id | No | Workspace to place the memo in when it is not going into a folder. |