> For the complete documentation index, see [llms.txt](https://docs.fastn.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fastn.ai/connectors/catalog/marketing/wistia.md). Agents can also search and read this documentation through its [MCP server](https://docs.fastn.ai/~gitbook/mcp).

# Wistia

Wistia is a video hosting platform. Manage projects, media, captions and sharing, and read viewing statistics.

![Wistia logo](https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-588f781556e86778ffc443c6d1286ea4f910a2be%2Fwistia.png?alt=media)

|                    |                                                                      |
| ------------------ | -------------------------------------------------------------------- |
| **Category**       | [Marketing](https://docs.fastn.ai/connectors/catalog/marketing.md)   |
| **Website**        | [wistia.com](https://wistia.com)                                     |
| **Authentication** | Access token                                                         |
| **Slug**           | `wistia`                                                             |
| **On fastn.ai**    | [Embed Wistia in your product](https://fastn.ai/integrations/wistia) |

## Setup

Your customers enter their access token for Wistia when they connect. Nothing else needs setting up.

## Connect in Fastn

Your customers connect Wistia from your widget. To connect an account yourself:

1. Go to **Build → Integrations → Connectors** and search for **Wistia**.
2. Select **Connect** on the Wistia card.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-586dd03cdc0c6904263f58928d7a531eae2f85df%2Fconnect-search.png?alt=media" alt="The Connectors page in Fastn with ServiceNow typed in the search box and the ServiceNow card showing a Connect button"><figcaption><p>Search for the connector, then select Connect on its card. ServiceNow is shown here.</p></figcaption></figure>
3. Fill in the fields the form asks for, using the values from [Setup](#setup) above. Then select **Connect**.

   <figure><img src="https://1255842839-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iSr2Tx8FvvuoLPncziH%2Fuploads%2Fgit-blob-51fb88ef328c525b5b11f8d7094bab11efc333b8%2Fconnect-credentials.png?alt=media" alt="The Connect ServiceNow dialog with an optional account name and the Instance, Username and Password fields, and Cancel and Connect buttons"><figcaption><p>A connect form that asks for credentials. Each connector asks for its own fields.</p></figcaption></figure>
4. Check that the connection appears under **Operate → Connections** with the status `Active`. Your workflows can now use Wistia's actions.

For more detail, see [Connect an app](https://docs.fastn.ai/build/integrations/connectors/connect-an-app.md).

## Actions

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Copy Media</td><td><code>copyMedia</code></td><td>Copy a media. Optionally place the copy in a different project and assign a different owner.</td></tr><tr><td>Copy Project</td><td><code>copyProject</code></td><td>Copy a project, including all media and sections. Returns the new project. Sharing information is not copied.</td></tr><tr><td>Create Caption</td><td><code>createCaption</code></td><td>Add captions to a video from SRT file contents.</td></tr><tr><td>Create Media Customizations</td><td><code>createCustomizations</code></td><td>Replace the embed customizations for a video with the provided set of options.</td></tr><tr><td>Create Project</td><td><code>createProject</code></td><td>Create a new project in the Wistia account.</td></tr><tr><td>Create Project Sharing</td><td><code>createProjectSharing</code></td><td>Share a project with a person by email, creating a new sharing object with the given permissions.</td></tr><tr><td>Delete Caption</td><td><code>deleteCaption</code></td><td>Remove the captions for a specific language from a video.</td></tr><tr><td>Delete Media</td><td><code>deleteMedia</code></td><td>Delete a media from the account. Returns an object representing the deleted media.</td></tr><tr><td>Delete Media Customizations</td><td><code>deleteCustomizations</code></td><td>Delete all explicit embed customizations for a video, resetting it to defaults.</td></tr><tr><td>Delete Project</td><td><code>deleteProject</code></td><td>Delete a project. Returns an object representing the deleted project.</td></tr></tbody></table>

<details>

<summary>View 30 more actions</summary>

<table><thead><tr><th width="240">Action</th><th width="260">Slug</th><th>What it does</th></tr></thead><tbody><tr><td>Delete Project Sharing</td><td><code>deleteProjectSharing</code></td><td>Delete a sharing on a project. Returns the deleted sharing object.</td></tr><tr><td>Get Account</td><td><code>getAccount</code></td><td>Retrieve information about the authenticated Wistia account, including its name, URL, and total media count.</td></tr><tr><td>Get Account Stats</td><td><code>getAccountStats</code></td><td>Retrieve account-wide aggregate statistics: total load count, play count, and hours watched.</td></tr><tr><td>Get Account Stats By Date</td><td><code>getAccountStatsByDate</code></td><td>Retrieve account-wide statistics broken down by day for a date range.</td></tr><tr><td>Get Caption</td><td><code>getCaption</code></td><td>Retrieve the captions for a specific language on a video in SRT format.</td></tr><tr><td>Get Event</td><td><code>getEvent</code></td><td>Retrieve the information about a single viewing session event by event key.</td></tr><tr><td>Get Media</td><td><code>getMedia</code></td><td>Retrieve information about a specific media, including its assets and thumbnail.</td></tr><tr><td>Get Media Customizations</td><td><code>getCustomizations</code></td><td>Retrieve the explicitly-defined embed customizations saved for a video.</td></tr><tr><td>Get Media Detailed Stats</td><td><code>getMediaDetailedStats</code></td><td>Retrieve detailed statistics for a video, including load count, play rate, engagement, visitors, and action stats.</td></tr><tr><td>Get Media Engagement</td><td><code>getMediaEngagement</code></td><td>Retrieve the engagement and rewatch data used to build a video's engagement graph.</td></tr><tr><td>Get Media Stats</td><td><code>getMediaStats</code></td><td>Retrieve aggregated embed tracking statistics for a video (page loads, plays, visitors, engagement). Works for videos only.</td></tr><tr><td>Get Media Stats By Date</td><td><code>getMediaStatsByDate</code></td><td>Retrieve a video's statistics broken down by day for a date range.</td></tr><tr><td>Get Project</td><td><code>getProject</code></td><td>Retrieve details about a specific project, including the array of medias it contains.</td></tr><tr><td>Get Project Sharing</td><td><code>getProjectSharing</code></td><td>Retrieve the details of a specific sharing on a project.</td></tr><tr><td>Get Project Stats</td><td><code>getProjectStats</code></td><td>Retrieve aggregate statistics for all videos in a project.</td></tr><tr><td>Get Project Stats By Date</td><td><code>getProjectStatsByDate</code></td><td>Retrieve project statistics broken down by day for a date range.</td></tr><tr><td>Get Visitor</td><td><code>getVisitor</code></td><td>Retrieve the information for a single visitor by visitor key.</td></tr><tr><td>List Captions</td><td><code>listCaptions</code></td><td>List all captions for a video. Returns an array of caption objects with language codes and SRT text.</td></tr><tr><td>List Events</td><td><code>listEvents</code></td><td>List viewing session events from the account. Optionally filter by media, visitor, or date range.</td></tr><tr><td>List Medias</td><td><code>listMedias</code></td><td>List all medias in the account. Supports paging, sorting, and filtering by project, name, type, or hashed id.</td></tr><tr><td>List Project Sharings</td><td><code>listProjectSharings</code></td><td>List all sharings (contacts and contact groups with access) on a project.</td></tr><tr><td>List Projects</td><td><code>listProjects</code></td><td>List all projects in the Wistia account. Supports paging and sorting.</td></tr><tr><td>List Visitors</td><td><code>listVisitors</code></td><td>List visitors who have watched videos in the account. Supports paging, filtering, and search.</td></tr><tr><td>Purchase Captions</td><td><code>purchaseCaptions</code></td><td>Purchase professionally-transcribed English captions for a video. Note: this charges the credit card on the account.</td></tr><tr><td>Update Caption</td><td><code>updateCaption</code></td><td>Replace the captions for a specific language on a video with new SRT file contents.</td></tr><tr><td>Update Media</td><td><code>updateMedia</code></td><td>Update attributes on a media such as its name, description, or replacement still image.</td></tr><tr><td>Update Media Customizations</td><td><code>updateCustomizations</code></td><td>Partially update a video's embed customizations. Setting a value to null deletes that key from the saved customizations.</td></tr><tr><td>Update Project</td><td><code>updateProject</code></td><td>Update the attributes of an existing project.</td></tr><tr><td>Update Project Sharing</td><td><code>updateProjectSharing</code></td><td>Update the permissions of an existing sharing on a project.</td></tr><tr><td>Upload Media</td><td><code>uploadMedia</code></td><td>Import a media into Wistia from a public web or FTP URL via the Upload API. To upload a local file, a multipart file part is required (not supported through this action; use URL import).</td></tr></tbody></table>

</details>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.fastn.ai/connectors/catalog/marketing/wistia.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
