provider productions POST /v1/productions/orders/{order_id}/media
@utdk/elevenlabs /v1/productions/orders/{order_id}/media
Register Media
Registers a media file with an order, either by uploading it directly or by providing a URL to fetch it from. Exactly one of `media` or `media_url` must be provided. The registered media can then be referenced when adding order items.
order_id path required
The ID of the order to which this media will be attached.
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
publicRegisterMedia
POST/v1/productions/orders/{order_id}/media
Registers a media file with an order, either by uploading it directly or by providing a URL to fetch it from. Exactly one of `media` or `media_url` must be provided. The registered media can then be referenced when adding order items.

Parameters

required

The ID of the order to which this media will be attached.

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.publicRegisterMedia()