apicheats.dev elevenlabs/llms.txt Raw .md
POST

/v1/audio-native/content

ElevenLabs API

Update Audio-Native Content From Url

Base URL
https://api.elevenlabs.io
Auth
xi-api-key: <ELEVENLABS_API_KEY>
Last verified
2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 234 tokens · Vary: Accept

Critical gotchas

Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.

Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.

cURL

curl -X POST 'https://api.elevenlabs.io/v1/audio-native/content' \  -H "xi-api-key: $ELEVENLABS_API_KEY" \  -H 'Content-Type: application/json' \  -d '{  "url": "string",  "author": "string",  "title": "string"}'
Get a free ElevenLabs API key → sponsored

Parameters

Name In Type Required Description
url body string Yes URL of the page to extract content from.
author body string No 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.
title body string No 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.

Response 200 OK

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