provider Agents Platform POST /v1/convai/conversations/{conversation_id}/files
@utdk/elevenlabs /v1/convai/conversations/{conversation_id}/files
Upload File
Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.
conversation_id path required
string
xi-api-key header
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
uploadFileRoute
POST/v1/convai/conversations/{conversation_id}/files
Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.

Parameters

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.uploadFileRoute()