> For the complete documentation index, see [llms.txt](https://docs.podigee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podigee.com/documentation/connect-and-administer/integrations/rest-api/rest-api-episode-content.md).

# REST API episode content

Endpoints for chapter marks, contributors, text snippets, intro and outro audio, and transcripts.

Use this reference when you need the exact endpoints for the content that surrounds an episode. This content is chapter marks, contributors, text snippets, intro and outro audio, and transcript imports. Paths are relative to `https://app.podigee.com/api/v1`.

## Chapter marks

| Method   | Path                               | Purpose                          | Notable parameters                                  | Response notes |
| -------- | ---------------------------------- | -------------------------------- | --------------------------------------------------- | -------------- |
| `POST`   | `/chapter_marks`                   | Add a chapter mark to an episode | `episode_id`, `title`, `url`, `start_time`, `image` |                |
| `PUT`    | `/chapter_marks/{chapter_mark_id}` | Change a chapter mark            | `title`, `url`, `start_time`, `image`               |                |
| `DELETE` | `/chapter_marks/{chapter_mark_id}` | Remove a chapter mark            | none                                                |                |

Errors:

| Status | Meaning                                                                                |
| ------ | -------------------------------------------------------------------------------------- |
| `403`  | The episode cannot use chapter marks because the podcast uses an external ad provider. |
| `404`  | `The chapter_mark with id <id> could not be found.`                                    |

You can also send `chapter_marks[]` with an episode create or update request. See [REST API podcasts and episodes](/documentation/connect-and-administer/integrations/rest-api/rest-api-podcasts-and-episodes.md).

## Contributors

Contributors are the people credited on a podcast.

| Method   | Path                             | Purpose                            | Notable parameters                                                                             | Response notes                |
| -------- | -------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------- | ----------------------------- |
| `GET`    | `/contributors`                  | List the contributors of a podcast | `podcast_id`                                                                                   | Ordered by id. No pagination. |
| `GET`    | `/contributors/{contributor_id}` | Read a contributor                 | none                                                                                           |                               |
| `POST`   | `/contributors`                  | Add a contributor                  | `podcast_id`, `name`, `email`, `biography`, `avatar_url`, `links[]` with `icon`, `url`, `text` |                               |
| `PUT`    | `/contributors/{contributor_id}` | Change a contributor               | The same fields                                                                                |                               |
| `DELETE` | `/contributors/{contributor_id}` | Remove a contributor               | none                                                                                           |                               |

Error: `404` when the contributor does not exist.

## Text snippets

Text snippets are reusable show-notes texts with a placeholder.

| Method   | Path                               | Purpose                             | Notable parameters                                              | Response notes                                                    |
| -------- | ---------------------------------- | ----------------------------------- | --------------------------------------------------------------- | ----------------------------------------------------------------- |
| `GET`    | `/text_snippets`                   | List the text snippets of a podcast | `podcast_id`                                                    | Ordered by title. Each entry includes `connected_episodes_count`. |
| `GET`    | `/text_snippets/{text_snippet_id}` | Read a text snippet                 | none                                                            |                                                                   |
| `POST`   | `/text_snippets`                   | Create a text snippet               | `podcast_id`, `title`, `content`, `content_html`, `placeholder` |                                                                   |
| `PUT`    | `/text_snippets/{text_snippet_id}` | Change a text snippet               | The same fields                                                 |                                                                   |
| `DELETE` | `/text_snippets/{text_snippet_id}` | Delete a text snippet               | none                                                            |                                                                   |

## Intro and outro audio

Extra audios are reusable audio pieces of a podcast. This page covers the intro and outro positions.

| Method   | Path                                        | Purpose                   | Notable parameters                       | Response notes |
| -------- | ------------------------------------------- | ------------------------- | ---------------------------------------- | -------------- |
| `GET`    | `/extra_audios`                             | List the extra audios     | `podcast_id`                             |                |
| `GET`    | `/extra_audios/{extra_audio_id}`            | Read an extra audio       | none                                     |                |
| `POST`   | `/extra_audios`                             | Add an extra audio        | `podcast_id`, `url`, `position`, `title` |                |
| `PUT`    | `/extra_audios/{extra_audio_id}`            | Change an extra audio     | `url`, `position`, `title`               |                |
| `DELETE` | `/extra_audios/{extra_audio_id}`            | Delete an extra audio     | none                                     |                |
| `POST`   | `/extra_audios/{extra_audio_id}/deactivate` | Deactivate an extra audio | none                                     |                |

The positions `-1` and `0` are the intro and outro positions. They require a plan that includes intro and outro audio. Otherwise the response is `403` with the message `You don't have the required permissions.`

Errors: `404` with `The podcast or user could not be found.` or `The extra audio with id <id> could not be found.`

After you change the intro or outro audio, re-encode the episodes with a batch encoding. See [REST API media uploads and encoding](/documentation/connect-and-administer/integrations/rest-api/rest-api-media-uploads-and-encoding.md).

## Transcript imports

| Method | Path                     | Purpose                                  | Notable parameters       | Response notes                                       |
| ------ | ------------------------ | ---------------------------------------- | ------------------------ | ---------------------------------------------------- |
| `POST` | `/transcription_imports` | Import a transcript file into an episode | `episode_id`, `file_url` | Returns `{"episode_id": ..., "transcription": ...}`. |

Podigee fetches the file from `file_url`. Supported file extensions: `docx`, `srt`, `txt`, `vtt`.

Errors: `The URL <url> has no extension` and `Format <extension> not supported`.

## Related pages

* [REST API podcasts and episodes](/documentation/connect-and-administer/integrations/rest-api/rest-api-podcasts-and-episodes.md)
* [REST API authentication and errors](/documentation/connect-and-administer/integrations/rest-api/rest-api-authentication-and-errors.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podigee.com/documentation/connect-and-administer/integrations/rest-api/rest-api-episode-content.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
