> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beyondwords.io/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

The BeyondWords API is a RESTful API that provides headless access to the entire platform. Use it to send content from your CMS or backend, retrieve player data, and manage your project programmatically.

> [card] [API reference](https://docs.beyondwords.io/api-reference/overview.md)
>
> Curated reference for content, distribution, integrations, analytics, and organization endpoints.

> [card] [Full reference](https://docs.beyondwords.io/full-api-reference)
>
> Complete endpoint catalog, including admin, voice cloning, and advanced configuration APIs.

## Typical integration flow

**1. Get your credentials**

Go to **Settings → Integrations → API** in your [project dashboard](https://docs.beyondwords.io/docs-and-guides/get-started/projects.md) to find your **Project ID** and **API Key**.

**2. Create or update content**

Use the API to [create](https://docs.beyondwords.io/api-reference/content/create.md) and [update](https://docs.beyondwords.io/api-reference/content/update.md) content items from your CMS or backend. Set a `source_id` to your CMS article ID when creating content—this is optional but recommended. If you're sending HTML or source URLs, see [content extraction](https://docs.beyondwords.io/docs-and-guides/integrations/content-extraction.md) for how BeyondWords processes page content.

**3. Install the player**

Unlike the Magic Embed, WordPress, and Ghost integrations, the API does not install the player automatically. [Install the player](https://docs.beyondwords.io/docs-and-guides/distribution/player/player-introduction.md) separately on your website or app using the [JavaScript](https://docs.beyondwords.io/docs-and-guides/distribution/player/installation/javascript-sdk.md), [iOS](https://docs.beyondwords.io/docs-and-guides/distribution/player/installation/ios-sdk.md), or [Android](https://docs.beyondwords.io/docs-and-guides/distribution/player/installation/android-sdk.md) SDK.

**4. Listen for changes (optional)**

Use [webhooks](https://docs.beyondwords.io/docs-and-guides/integrations/webhooks.md) to receive notifications when content is created, updated, or deleted, rather than polling the API.

> [!TIP]
>
> Migrating from the legacy v4 API? See the [API migration guide](https://docs.beyondwords.io/docs-and-guides/migration-guides/api-legacy.md).

## Base URL

All requests use HTTPS. The current stable version is `v1`:

```text theme={null}
https://api.beyondwords.io/v1/
```

## Authentication

All API requests require your **Project ID** and **API Key**. Include your API key as a header on every request. Your Project ID is typically included as a path parameter (as in the example below).

```bash theme={null}
curl -X GET "https://api.beyondwords.io/v1/projects/YOUR_PROJECT_ID/content" \
  -H "X-Api-Key: YOUR_API_KEY"
```

Requests without valid authentication are rejected with a `401 Unauthorized` response.

> [!WARNING]
>
> Keep your API key secret. Never expose it in client-side code or public repositories. Use environment variables to store credentials securely.

## Request format

The API uses JSON for both requests and responses. Send request bodies as JSON with a `Content-Type: application/json` header. File uploads are the exception—they use `multipart/form-data`.

## Core resources

The API provides access to several resources. The primary ones include:

### Projects

This object represents your BeyondWords project and its settings.

* [List projects](https://docs.beyondwords.io/api-reference/projects/list.md)
* [Create project](https://docs.beyondwords.io/api-reference/projects/create.md)
* [Get project](https://docs.beyondwords.io/api-reference/projects/show.md)
* [Update project](https://docs.beyondwords.io/api-reference/projects/update.md)
* [Delete project](https://docs.beyondwords.io/api-reference/projects/delete.md)
* [Get project voices](https://docs.beyondwords.io/api-reference/projects/voices.md)

See [Projects](https://docs.beyondwords.io/api-reference/projects/list.md) in the API reference.

### Content

This object represents your generated content and its associated metadata. You can list, create, retrieve, update, and delete content, and regenerate or upload audio.

When [creating content](https://docs.beyondwords.io/api-reference/content/create.md), publishers are encouraged to include a `source_id`—your own identifier for the article, such as your CMS article ID. This is optional, but avoids having to store the `content_id` returned by the API. You can then load the player using `sourceId` instead of `contentId`, which simplifies integration when you already have an article ID in your system.

* [List content](https://docs.beyondwords.io/api-reference/content/list.md)
* [Create content](https://docs.beyondwords.io/api-reference/content/create.md)
* [Get content](https://docs.beyondwords.io/api-reference/content/show.md)
* [Update content](https://docs.beyondwords.io/api-reference/content/update.md)
* [Delete content](https://docs.beyondwords.io/api-reference/content/delete.md)
* [Regenerate content](https://docs.beyondwords.io/api-reference/content/regenerate.md)

See [Generating content](https://docs.beyondwords.io/api-reference/content/introduction.md) in the API reference. Related sections cover [extraction](https://docs.beyondwords.io/api-reference/content-filters/overview.md), [pronunciation settings](https://docs.beyondwords.io/api-reference/rules/list.md), [summary settings](https://docs.beyondwords.io/api-reference/summarization-settings/show.md), [video settings](https://docs.beyondwords.io/api-reference/video-settings/show.md), and [background music settings](https://docs.beyondwords.io/api-reference/background-tracks/list.md).

### Voices

List, create, and manage organization [voices](https://docs.beyondwords.io/api-reference/voices/list.md), [speakers](https://docs.beyondwords.io/api-reference/speakers/list.md), and [languages](https://docs.beyondwords.io/api-reference/languages/list.md).

### Player

Retrieve audio, video, and player configuration using identifiers such as Content ID, Source ID, Source URL, or Playlist ID. If you set a `source_id` when creating content, [get player by source ID](https://docs.beyondwords.io/api-reference/player/show-2.md) is often the simplest way to embed the player—you can use the same ID your CMS already knows.

* [Get player by content ID](https://docs.beyondwords.io/api-reference/player/show.md)
* [Get player by playlist ID](https://docs.beyondwords.io/api-reference/player/show-1.md)
* [Get player by source ID](https://docs.beyondwords.io/api-reference/player/show-2.md)
* [Get player by source URL](https://docs.beyondwords.io/api-reference/player/show-3.md)
* [Get player by multiple identifiers](https://docs.beyondwords.io/api-reference/player/show-4.md)

### Playlists

BeyondWords supports three [playlist](https://docs.beyondwords.io/docs-and-guides/distribution/playlists.md) types. Only **standard** and **smart** playlists are created and managed through the API—**dynamic** playlists are built client-side in the player and are not API resources.

| Type | API type | Use case | How to create |
| - | - | - | - |
| **Standard** | `manual` | Fixed editorial collections—daily roundups, story packages, or any hand-picked set of content | [Create playlist](https://docs.beyondwords.io/api-reference/playlists/create.md) with `type: "manual"` and a list of content IDs |
| **Smart** | `auto` | Automatically updating feeds—e.g., all articles by an author, or all content matching a topic | [Create playlist](https://docs.beyondwords.io/api-reference/playlists/create.md) with `type: "auto"` and filtering rules |
| **Dynamic** | — | User-curated queues—e.g., an "add to queue" feature where visitors build their own playlist | Not via the API. Pass an array of content identifiers to the player's [`playlist`](https://docs.beyondwords.io/docs-and-guides/distribution/player/developer-guides/player-properties#param-playlist) property. See [dynamic playlists](https://docs.beyondwords.io/docs-and-guides/distribution/playlists.md#create-a-dynamic-playlist). |

To load a standard or smart playlist in the player, use its `playlistId` with [get player by playlist ID](https://docs.beyondwords.io/api-reference/player/show-1.md). For dynamic playlists, use the [JavaScript player SDK](https://docs.beyondwords.io/docs-and-guides/distribution/player/installation/javascript-sdk.md) directly.

**Standard and smart playlist endpoints:**

* [List playlists](https://docs.beyondwords.io/api-reference/playlists/list.md)
* [Create playlist](https://docs.beyondwords.io/api-reference/playlists/create.md)
* [Get playlist](https://docs.beyondwords.io/api-reference/playlists/show.md)
* [Update playlist](https://docs.beyondwords.io/api-reference/playlists/update.md)
* [Delete playlist](https://docs.beyondwords.io/api-reference/playlists/delete.md)
* [Get playlist settings](https://docs.beyondwords.io/api-reference/playlists/show-1.md)
* [Update playlist settings](https://docs.beyondwords.io/api-reference/playlists/update-1.md)

See [Player](https://docs.beyondwords.io/api-reference/player/by-content-id.md) and [Player settings](https://docs.beyondwords.io/api-reference/player-settings/show.md) in the API reference.

### Distribution

Beyond the player endpoints, you can manage playlists, access tiers, and podcast feed settings via the API.

* [Playlists](https://docs.beyondwords.io/api-reference/playlists/list.md)
* [Access tiers](https://docs.beyondwords.io/api-reference/access-tiers/list.md)
* [Podcast feeds](https://docs.beyondwords.io/api-reference/podcast-feeds/get-settings.md)

### Integrations

Use [Webhooks](https://docs.beyondwords.io/api-reference/webhooks/list.md) to receive HTTP notifications when content is created, updated, or deleted. See the [Webhooks guide](https://docs.beyondwords.io/docs-and-guides/integrations/webhooks.md) for setup instructions.

Import content from external RSS feeds via the [RSS feed importer](https://docs.beyondwords.io/api-reference/rss-feed-importer/list.md). See the [RSS feed importer guide](https://docs.beyondwords.io/docs-and-guides/integrations/rss-feed-importer.md).

Configure Magic Embed via the [Magic Embed API](https://docs.beyondwords.io/api-reference/magic-embed/show.md). See the [Magic Embed guide](https://docs.beyondwords.io/docs-and-guides/integrations/magic-embed.md).

Connect Ghost via the [Ghost integration API](https://docs.beyondwords.io/api-reference/ghost/show.md). See the [Ghost guide](https://docs.beyondwords.io/docs-and-guides/integrations/publishing-platforms/ghost.md).

### Analytics

Retrieve analytics for an organization, project, content item, or ad. Filter by time period and aggregate by year, month, week, day, or hour.

* [Get organization analytics](https://docs.beyondwords.io/api-reference/analytics/organization-analytics.md)
* [List projects analytics](https://docs.beyondwords.io/api-reference/analytics/projects-analytics.md)
* [Get project analytics](https://docs.beyondwords.io/api-reference/analytics/project-analytics.md)
* [List content analytics](https://docs.beyondwords.io/api-reference/analytics/contents-analytics.md)
* [Get content analytics](https://docs.beyondwords.io/api-reference/analytics/content-analytics.md)
* [List ads analytics](https://docs.beyondwords.io/api-reference/analytics/ads-analytics.md)
* [Get ad analytics](https://docs.beyondwords.io/api-reference/analytics/ad-analytics.md)

See [Analytics](https://docs.beyondwords.io/api-reference/analytics/organization-analytics.md) in the API reference.

### Monetization

Manage [ads](https://docs.beyondwords.io/api-reference/ads/list.md) via the API.

## Error handling

The API uses standard HTTP response codes:

* `2xx`—Success
* `4xx`—Client error (check your request)
* `5xx`—Server error

Error responses include a JSON body with details:

```json theme={null}
{
  "error": {
    "code": "invalid_request",
    "message": "A detailed error message",
    "details": {}
  }
}
```

## Getting help

If you encounter issues or have questions, [contact support](https://docs.beyondwords.io/docs-and-guides/support/get-support.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.