@wistia/wistia-api-client
v2026.7.0
Published
<div align="center"> <img width="500" height="300" alt="image" src="https://github.com/user-attachments/assets/e4169a55-3c50-41a7-a44e-3a2114b530b1" /> <h1>Wistia TypeScript SDK</h1> <p>Developer-friendly TypeScript SDK specifically catered to
Keywords
Readme
Summary
The Wistia TypeScript SDK provides comprehensive programmatic access to the Wistia Data, stats, and upload API, enabling developers to integrate with Wistia's video hosting and marketing platform. The SDK supports core video management operations including media upload, organization within projects and subfolders, caption and localization management, analytics and stats retrieval, live streaming events, and domain security controls.
Server-side only
Important: Please do not use this library in a client context, as exposing bearer tokens in client-side applications is inherently insecure.
Official docs
For complete API documentation and platform guides, please visit docs.wistia.com.
Version note
This SDK wrapper is currently in beta; functionality is subject to change. When released, the API will use a date-based versioning system instead of (but compliant with) SemVer.
Table of Contents
- Server-side only
- Official docs
- Version note
- SDK Installation
- Requirements
- SDK Example Usage
- Authentication
- Available Resources and Operations
- Standalone functions
- File uploads
- Retries
- Error Handling
- Server Selection
- Custom HTTP Client
- Debugging
- Development
SDK Installation
The SDK can be installed with either npm, pnpm, bun or yarn package managers.
NPM
npm add @wistia/wistia-api-clientPNPM
pnpm add @wistia/wistia-api-clientBun
bun add @wistia/wistia-api-clientYarn
yarn add @wistia/wistia-api-client[!NOTE] This package is published with CommonJS and ES Modules (ESM) support.
Requirements
For supported JavaScript runtimes, please consult RUNTIMES.md.
SDK Example Usage
Example
import { Wistia } from "@wistia/wistia-api-client";
const wistia = new Wistia({
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
const result = await wistia.uploadOrImportMedia.postForm({
url:
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
lowPriority: true,
});
console.log(result);
}
run();
Authentication
Per-Client Security Schemes
This SDK supports the following security scheme globally:
| Name | Type | Scheme | Environment Variable |
| ------------ | ---- | ----------- | -------------------- |
| bearerAuth | http | HTTP Bearer | WISTIA_BEARER_AUTH |
To authenticate with the API the bearerAuth parameter must be set when initializing the SDK client instance. For example:
import { Wistia } from "@wistia/wistia-api-client";
const wistia = new Wistia({
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
const result = await wistia.uploadOrImportMedia.postForm({
url:
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
lowPriority: true,
});
console.log(result);
}
run();
Available Resources and Operations
Account
- get - Get Current Account
- getUsage - Get Account Usage
- getTokenDetails - Get Current Token
AllowedDomains
- list - List Allowed Domains
- create - Create Allowed Domain
- get - Show Allowed Domain
- delete - Delete Allowed Domain
AnalyticsAccount
- get - Show Account Analytics
- getTimeseries - Show Account Analytics Timeseries
- getTopContent - Show Account Top Content
- getEmbedLocations - Show Account Embed Locations
AnalyticsMedia
- get - Show Media Analytics
- getTimeseries - Show Media Analytics Timeseries
- getEmbedLocations - Show Media Embed Locations
- getEmbedLocationsTimeseries - Show Media Embed Locations Timeseries
- getTraffic - Show Media Traffic Breakdown
- getConversions - Show Media Form Conversions
- getLanguages - Show Media Languages
AnalyticsWebinar
- get - Show Webinar Analytics
- getRegistration - Show Webinar Registration Timeseries
- getTraffic - Show Webinar Traffic Breakdown
- getAudience - Show Webinar Audience
- getHistograms - Show Webinar Histograms
BackgroundJobStatus
- get - Show Background Job Status
Brands
- list - List Brands
BulkActions
- postBulk - Create Bulk Actions
Captions
- list - List Captions by Media
- create - Create Captions
- createMultipart - Create Captions
- listAll - List Captions
- purchase - Purchase Captions
- get - Show Captions
- update - Update Captions
- updateMultipart - Update Captions
- delete - Delete Captions
ChannelCollaborators
- list - List Channel Collaborators
- create - Create Channel Collaborator
- delete - Delete Channel Collaborator
ChannelEpisodes
- get - Show Channel Episode
- create - Create Channel Episode
- list - List Channel Episodes
- update - Update Channel Episode
- delete - Delete Channel Episode
- publish - Publish Channel Episode
- unpublish - Un-publish Channel Episode
Channels
- list - List Channels
- create - Create Channel
- get - Show Channel
- update - Update Channel
- delete - Delete Channel
Channels.ChannelEpisodes
- list - List Channel Episodes by Channel
Customizations
- get - Show Customizations
- create - Create Customizations
- update - Update Customizations
- delete - Delete Customizations
- getAppearance - Show Appearance Customizations
- updateAppearance - Update Appearance Customizations
- getPlayback - Show Playback Customizations
- updatePlayback - Update Playback Customizations
- getThumbnail - Show Thumbnail Customizations
- updateThumbnail - Update Thumbnail Customizations
- getAccessibility - Show Accessibility Customizations
- updateAccessibility - Update Accessibility Customizations
- getChapters - Show Chapters Customizations
- updateChapters - Update Chapters Customizations
- getEngagement - Show Engagement Customizations
- updateEngagement - Update Engagement Customizations
- getRelatedMedia - Show Related Media Customizations
- updateRelatedMedia - Update Related Media Customizations
- getSharing - Show Sharing Customizations
- updateSharing - Update Sharing Customizations
- getLeadCapture - Show Lead Capture Customizations
- updateLeadCapture - Update Lead Capture Customizations
- getAccess - Show Access Customizations
- updateAccess - Update Access Customizations
DeletedMedia
- getDeletedMedia - List Deleted Media
- postDeletedMediaRestore - Restore Deleted Media
ExpiringAccessTokens
- create - Create Expiring Access Token
Folders
- list - List Folders
- create - Create Folder
- get - Show Folder
- update - Update Folder
- delete - Delete Folder
- copy - Copy Folder
FolderSharings
- list - List Folder Sharings
- create - Create Folder Sharing
- get - Show Folder Sharing
- update - Update Folder Sharing
- delete - Delete Folder Sharing
Localizations
- list - List Localizations
- create - Create Localization
- get - Show Localization
- delete - Delete Localization
Media
- list - List Media
- get - Show Media
- update - Update Media
- delete - Delete Media
- copy - Copy Media
- swap - Swap Media
- getStats - Show Media Aggregated Stats
- translate - Translate Media
- importUrl - Import Media from URL
- archive - Archive Media
- move - Move Media
- restore - Restore Media
- bulkCopy - Bulk Copy Media
MediaExtendedAudioDescriptions
- getMediaExtendedAudioDescriptions - List Media Extended Audio Descriptions
- getMediaExtendedAudioDescriptionsId - Show Media Extended Audio Description
- deleteMediaExtendedAudioDescriptionsId - Delete Media Extended Audio Description
- postMediaExtendedAudioDescriptionsOrder - Order Extended Audio Description
- getMediaExtendedAudioDescriptionsOrderStatusId - Get Order Status
Search
- search - Search
ShareLinks
StatsAccount
- get - Show Current Account Stats
- getStatsAccountByDate - Show Account Stats by Date
StatsEvents
StatsMedia
- get - Show Media Stats
- getByDate - Show Media Stats by Date
- getEngagement - Show Media Engagement
StatsProjects
- get - Show Project Stats
StatsVisitors
Subfolders
- list - List Subfolders
- create - Create Subfolder
- get - Show Subfolder
- update - Update Subfolder
- delete - Delete Subfolder
- bulkDelete - Bulk Delete Subfolders
Taggings
- bulkCreate - Bulk Tag Media
Tags
Trims
- create - Create Media from Trims
UploadOrImportMedia
- postForm - Upload or Import Media
- postMultipart - Upload or Import Media
WebinarRegistrations
- getWebinarsWebinarIdRegistrations - List Webinar Registrations
- create - Create Webinar Registration
WebinarCollaborators
- list - List Webinar Collaborators
- create - Create Webinar Collaborator
- delete - Delete Webinar Collaborator
Webinars
- list - List Webinars
- create - Create Webinar
- get - Show Webinar
- update - Update Webinar
- delete - Delete Webinar
Standalone functions
All the methods listed above are available as standalone functions. These functions are ideal for use in applications running in the browser, serverless runtimes or other environments where application bundle size is a primary concern. When using a bundler to build your application, all unused functionality will be either excluded from the final bundle or tree-shaken away.
To read more about standalone functions, check FUNCTIONS.md.
accountGet- Get Current AccountaccountGetTokenDetails- Get Current TokenaccountGetUsage- Get Account UsageallowedDomainsCreate- Create Allowed DomainallowedDomainsDelete- Delete Allowed DomainallowedDomainsGet- Show Allowed DomainallowedDomainsList- List Allowed DomainsanalyticsAccountGet- Show Account AnalyticsanalyticsAccountGetEmbedLocations- Show Account Embed LocationsanalyticsAccountGetTimeseries- Show Account Analytics TimeseriesanalyticsAccountGetTopContent- Show Account Top ContentanalyticsMediaGet- Show Media AnalyticsanalyticsMediaGetConversions- Show Media Form ConversionsanalyticsMediaGetEmbedLocations- Show Media Embed LocationsanalyticsMediaGetEmbedLocationsTimeseries- Show Media Embed Locations TimeseriesanalyticsMediaGetLanguages- Show Media LanguagesanalyticsMediaGetTimeseries- Show Media Analytics TimeseriesanalyticsMediaGetTraffic- Show Media Traffic BreakdownanalyticsWebinarGet- Show Webinar AnalyticsanalyticsWebinarGetAudience- Show Webinar AudienceanalyticsWebinarGetHistograms- Show Webinar HistogramsanalyticsWebinarGetRegistration- Show Webinar Registration TimeseriesanalyticsWebinarGetTraffic- Show Webinar Traffic BreakdownbackgroundJobStatusGet- Show Background Job StatusbrandsList- List BrandsbulkActionsPostBulk- Create Bulk ActionscaptionsCreate- Create CaptionscaptionsCreateMultipart- Create CaptionscaptionsDelete- Delete CaptionscaptionsGet- Show CaptionscaptionsList- List Captions by MediacaptionsListAll- List CaptionscaptionsPurchase- Purchase CaptionscaptionsUpdate- Update CaptionscaptionsUpdateMultipart- Update CaptionschannelCollaboratorsCreate- Create Channel CollaboratorchannelCollaboratorsDelete- Delete Channel CollaboratorchannelCollaboratorsList- List Channel CollaboratorschannelEpisodesCreate- Create Channel EpisodechannelEpisodesDelete- Delete Channel EpisodechannelEpisodesGet- Show Channel EpisodechannelEpisodesList- List Channel EpisodeschannelEpisodesPublish- Publish Channel EpisodechannelEpisodesUnpublish- Un-publish Channel EpisodechannelEpisodesUpdate- Update Channel EpisodechannelsChannelEpisodesList- List Channel Episodes by ChannelchannelsCreate- Create ChannelchannelsDelete- Delete ChannelchannelsGet- Show ChannelchannelsList- List ChannelschannelsUpdate- Update ChannelcustomizationsCreate- Create CustomizationscustomizationsDelete- Delete CustomizationscustomizationsGet- Show CustomizationscustomizationsGetAccess- Show Access CustomizationscustomizationsGetAccessibility- Show Accessibility CustomizationscustomizationsGetAppearance- Show Appearance CustomizationscustomizationsGetChapters- Show Chapters CustomizationscustomizationsGetEngagement- Show Engagement CustomizationscustomizationsGetLeadCapture- Show Lead Capture CustomizationscustomizationsGetPlayback- Show Playback CustomizationscustomizationsGetRelatedMedia- Show Related Media CustomizationscustomizationsGetSharing- Show Sharing CustomizationscustomizationsGetThumbnail- Show Thumbnail CustomizationscustomizationsUpdate- Update CustomizationscustomizationsUpdateAccess- Update Access CustomizationscustomizationsUpdateAccessibility- Update Accessibility CustomizationscustomizationsUpdateAppearance- Update Appearance CustomizationscustomizationsUpdateChapters- Update Chapters CustomizationscustomizationsUpdateEngagement- Update Engagement CustomizationscustomizationsUpdateLeadCapture- Update Lead Capture CustomizationscustomizationsUpdatePlayback- Update Playback CustomizationscustomizationsUpdateRelatedMedia- Update Related Media CustomizationscustomizationsUpdateSharing- Update Sharing CustomizationscustomizationsUpdateThumbnail- Update Thumbnail CustomizationsdeletedMediaGetDeletedMedia- List Deleted MediadeletedMediaPostDeletedMediaRestore- Restore Deleted MediaexpiringAccessTokensCreate- Create Expiring Access TokenfoldersCopy- Copy FolderfoldersCreate- Create FolderfoldersDelete- Delete FolderfoldersGet- Show FolderfolderSharingsCreate- Create Folder SharingfolderSharingsDelete- Delete Folder SharingfolderSharingsGet- Show Folder SharingfolderSharingsList- List Folder SharingsfolderSharingsUpdate- Update Folder SharingfoldersList- List FoldersfoldersUpdate- Update FolderlocalizationsCreate- Create LocalizationlocalizationsDelete- Delete LocalizationlocalizationsGet- Show LocalizationlocalizationsList- List LocalizationsmediaArchive- Archive MediamediaBulkCopy- Bulk Copy MediamediaCopy- Copy MediamediaDelete- Delete MediamediaExtendedAudioDescriptionsDeleteMediaExtendedAudioDescriptionsId- Delete Media Extended Audio DescriptionmediaExtendedAudioDescriptionsGetMediaExtendedAudioDescriptions- List Media Extended Audio DescriptionsmediaExtendedAudioDescriptionsGetMediaExtendedAudioDescriptionsId- Show Media Extended Audio DescriptionmediaExtendedAudioDescriptionsGetMediaExtendedAudioDescriptionsOrderStatusId- Get Order StatusmediaExtendedAudioDescriptionsPostMediaExtendedAudioDescriptionsOrder- Order Extended Audio DescriptionmediaGet- Show MediamediaGetStats- Show Media Aggregated StatsmediaImportUrl- Import Media from URLmediaList- List MediamediaMove- Move MediamediaRestore- Restore MediamediaSwap- Swap MediamediaTranslate- Translate MediamediaUpdate- Update MediasearchSearch- SearchshareLinksDelete- Delete share linkshareLinksGet- Show share linkshareLinksUpdate- Update share linkstatsAccountGet- Show Current Account StatsstatsAccountGetStatsAccountByDate- Show Account Stats by DatestatsEventsGet- Show EventstatsEventsList- List EventsstatsMediaGet- Show Media StatsstatsMediaGetByDate- Show Media Stats by DatestatsMediaGetEngagement- Show Media EngagementstatsProjectsGet- Show Project StatsstatsVisitorsGet- Show VisitorstatsVisitorsList- List VisitorssubfoldersBulkDelete- Bulk Delete SubfolderssubfoldersCreate- Create SubfoldersubfoldersDelete- Delete SubfoldersubfoldersGet- Show SubfoldersubfoldersList- List SubfolderssubfoldersUpdate- Update SubfoldertaggingsBulkCreate- Bulk Tag MediatagsCreate- Create TagstagsDelete- Delete TagtagsList- List TagstrimsCreate- Create Media from TrimsuploadOrImportMediaPostForm- Upload or Import MediauploadOrImportMediaPostMultipart- Upload or Import MediawebinarCollaboratorsCreate- Create Webinar CollaboratorwebinarCollaboratorsDelete- Delete Webinar CollaboratorwebinarCollaboratorsList- List Webinar CollaboratorswebinarRegistrationsCreate- Create Webinar RegistrationwebinarRegistrationsGetWebinarsWebinarIdRegistrations- List Webinar RegistrationswebinarsCreate- Create WebinarwebinarsDelete- Delete WebinarwebinarsGet- Show WebinarwebinarsList- List WebinarswebinarsUpdate- Update Webinar
File uploads
Certain SDK methods accept files as part of a multi-part request. It is possible and typically recommended to upload files as a stream rather than reading the entire contents into memory. This avoids excessive memory consumption and potentially crashing with out-of-memory errors when working with very large files. The following example demonstrates how to attach a file stream to a request.
[!TIP]
Depending on your JavaScript runtime, there are convenient utilities that return a handle to a file without reading the entire contents into memory:
- Node.js v20+: Since v20, Node.js comes with a native
openAsBlobfunction innode:fs.- Bun: The native
Bun.filefunction produces a file handle that can be used for streaming file uploads.- Browsers: All supported browsers return an instance to a
Filewhen reading the value from an<input type="file">element.- Node.js v18: A file stream can be created using the
fileFromhelper fromfetch-blob/from.js.
import { Wistia } from "@wistia/wistia-api-client";
import { openAsBlob } from "node:fs";
const wistia = new Wistia({
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
const result = await wistia.uploadOrImportMedia.postMultipart({
file: await openAsBlob("example.file"),
});
console.log(result);
}
run();
Retries
Some of the endpoints in this SDK support retries. If you use the SDK without any configuration, it will fall back to the default retry strategy provided by the API. However, the default retry strategy can be overridden on a per-operation basis, or across the entire SDK.
To change the default retry strategy for a single API call, simply provide a retryConfig object to the call:
import { Wistia } from "@wistia/wistia-api-client";
const wistia = new Wistia({
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
const result = await wistia.uploadOrImportMedia.postForm({
url:
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
lowPriority: true,
}, {
retries: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
});
console.log(result);
}
run();
If you'd like to override the default retry strategy for all operations that support retries, you can provide a retryConfig at SDK initialization:
import { Wistia } from "@wistia/wistia-api-client";
const wistia = new Wistia({
retryConfig: {
strategy: "backoff",
backoff: {
initialInterval: 1,
maxInterval: 50,
exponent: 1.1,
maxElapsedTime: 100,
},
retryConnectionErrors: false,
},
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
const result = await wistia.uploadOrImportMedia.postForm({
url:
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
lowPriority: true,
});
console.log(result);
}
run();
Error Handling
WistiaError is the base class for all HTTP error responses. It has the following properties:
| Property | Type | Description |
| ------------------- | ---------- | --------------------------------------------------------------------------------------- |
| error.message | string | Error message |
| error.statusCode | number | HTTP response status code eg 404 |
| error.headers | Headers | HTTP response headers |
| error.body | string | HTTP body. Can be empty string if no body is returned. |
| error.rawResponse | Response | Raw HTTP response |
| error.data$ | | Optional. Some errors may contain structured data. See Error Classes. |
Example
import { Wistia } from "@wistia/wistia-api-client";
import * as errors from "@wistia/wistia-api-client/models/errors";
const wistia = new Wistia({
bearerAuth: process.env["WISTIA_BEARER_AUTH"] ?? "",
});
async function run() {
try {
const result = await wistia.uploadOrImportMedia.postForm({
url:
"http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
lowPriority: true,
});
console.log(result);
} catch (error) {
// The base class for HTTP error responses
if (error instanceof errors.WistiaError) {
console.log(error.message);
console.log(error.statusCode);
console.log(error.body);
console.log(error.headers);
// Depending on the method different errors may be thrown
if (error instanceof errors.PostFormBadRequestError) {
console.log(error.data$.error); // operations.PostFormError
}
}
}
}
run();
Error Classes
Primary error:
WistiaError: The base class for HTTP error responses.
Network errors:
ConnectionError: HTTP client was unable to make a request to a server.RequestTimeoutError: HTTP request timed out due to an AbortSignal signal.RequestAbortedError: HTTP request was aborted by the client.InvalidRequestError: Any input used to create a request is invalid.UnexpectedClientError: Unrecognised or unexpected error.
Inherit from WistiaError:
PostFormBadRequestError: Error due to reaching the video limit of your account or other issues. Status code400. Applicable to 1 of 148 methods.*PostMultipartBadRequestError: Error due to reaching the video limit of your account or other issues. Status code400. Applicable to 1 of 148 methods.*GetDeletedMediaBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostDeletedMediaRestoreBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetMediasBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdCopyBadRequestError: Bad request, e.g. copy failure. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdSwapBadRequestError: Bad request, e.g. missing replacement_media_id or media type mismatch. Status code400. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdStatsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdTranslateBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostMediasImportUrlBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMoveBadRequestError: Invalid request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAppearanceBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsPlaybackBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsThumbnailBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAccessibilityBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsChaptersBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsEngagementBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsRelatedMediaBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsSharingBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsLeadCaptureBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAccessBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PutMediasMediaIdShareLinkBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetCaptionsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdLocalizationsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetMediaExtendedAudioDescriptionsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostMediaExtendedAudioDescriptionsOrderBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetBrandsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetTagsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostTagsBadRequestError: Bad request - missing or invalid parameters. Status code400. Applicable to 1 of 148 methods.*PostBulkBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetFoldersBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetFoldersFolderIdSharingsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetFoldersFolderIdSubfoldersBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostFoldersFolderIdSubfoldersBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetChannelsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostChannelsChannelHashedIdChannelEpisodesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetChannelEpisodesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetChannelsChannelHashedIdCollaboratorsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostChannelsChannelHashedIdCollaboratorsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetWebinarsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetWebinarsWebinarIdCollaboratorsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostWebinarsWebinarIdCollaboratorsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetSearchBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAllowedDomainsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*PostAllowedDomainsBadRequestError: Bad request - missing or invalid domain. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsAccountBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsAccountTimeseriesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsAccountTopContentBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsAccountEmbedLocationsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdTimeseriesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdEmbedLocationsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdEmbedLocationsTimeseriesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdTrafficBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdConversionsBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsMediasMediaIdLanguagesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsWebinarsWebinarIdRegistrationBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetAnalyticsWebinarsWebinarIdTrafficBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetChannelsChannelHashedIdChannelEpisodesBadRequestError: Bad request. Status code400. Applicable to 1 of 148 methods.*GetDeletedMediaUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostDeletedMediaRestoreUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediasMediaHashedIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdCopyUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdSwapUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdStatsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdTranslateUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasImportUrlUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasArchiveUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMoveUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasRestoreUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasCopyUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaIdCustomizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediasMediaIdCustomizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsAppearanceUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAppearanceUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsPlaybackUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsPlaybackUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsThumbnailUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsThumbnailUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsAccessibilityUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAccessibilityUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsChaptersUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsChaptersUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsEngagementUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsEngagementUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsRelatedMediaUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsRelatedMediaUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsSharingUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsSharingUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsLeadCaptureUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsLeadCaptureUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdCustomizationsAccessUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdCustomizationsAccessUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaIdShareLinkUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaIdShareLinkUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediasMediaIdShareLinkUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdCaptionsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdCaptionsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdCaptionsMultipartUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetCaptionsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdCaptionsPurchaseUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdCaptionsLanguageCodeUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdCaptionsLanguageCodeUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PutMediasMediaHashedIdCaptionsLanguageCodeMultipartUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediasMediaHashedIdCaptionsLanguageCodeUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdLocalizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdLocalizationsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediasMediaHashedIdLocalizationsLocalizationHashedIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediasMediaHashedIdLocalizationsLocalizationHashedIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediasMediaHashedIdTrimsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediaExtendedAudioDescriptionsUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediaExtendedAudioDescriptionsIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*DeleteMediaExtendedAudioDescriptionsIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*PostMediaExtendedAudioDescriptionsOrderUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*GetMediaExtendedAudioDescriptionsOrderStatusIdUnauthorizedError: Unauthorized, invalid or missing token. Status code401. Applicable to 1 of 148 methods.*- [`GetBrandsUnauthorizedErr
