v4

OpenAPI 3.1.02026-07-313621,3961.8 MB
audio-native

Update Audio-Native Content From Url

Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.

post/v1/audio-native/content

Headers

xi-api-keystring nullable

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.

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.

Request body

urlstring required

URL of the page to extract content from.

authorstring nullable

Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used.

titlestring nullable

Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used.

Example request

{
  "url": "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
}

Response

Successful Response

project_idstring required

The ID of the project.

convertingboolean required

Whether the project is currently being converted.

publishingboolean required

Whether the project is currently being published.

html_snippetstring required

The HTML snippet to embed the Audio Native player.

Example response

{
  "converting": false,
  "html_snippet": "<div id='audio-native-player'></div>",
  "project_id": "JBFqnCBsd6RMkjVDRZzb",
  "publishing": false
}