Create Folder
create_folderCreates a new Wistia folder to organize media, with options for public access, personal library, and administrator assignment.
Instructions
Creates a new folder (previously called project). If the folder is created successfully the Location HTTP header will point to the new folder.
Requires api token with one of the following permissions
Read, update & delete anythingTokens with the "Act with a team member's permissions" permission
(all:delegate_to_contact_permissions scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.
An expiring access token
created with the all:delegate_to_contact_permissions scope and an
account authorization granting the create-folders permission can also
be used. The folder's creator is the contact behind the token (the account
owner for a token minted from an account-level token); adminEmail selects
the folder's administrator (defaults to the account owner). personalLibrary
creates the folder inside the My Library of the contact behind the token.
The new folder is not covered by the token that created it, so follow-up
requests need a token whose authorizations name the returned hashed id.
Requires confirm=true for the requested mutation. May share access, notify people or incur provider charges.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The name of the folder you want to create. | |
| public | No | A flag indicating whether or not the folder is enabled for public access. | |
| account | No | Named private Wistia account; selects credentials, not a remote account ID. | |
| confirm | No | Must be true for the specific user-requested write. | |
| payload | No | Complete JSON request body instead of body flags. Supports current nested customization, caption and nullable values. | |
| adminEmail | No | The email address of the person you want to set as the owner of this folder. Defaults to the Wistia Account Owner. | |
| description | No | The folder’s description. | |
| payload_file | No | Regular local JSON body file, at most 5 MB. Cannot be mixed with body flags or payload. | |
| personalLibrary | No | When true, creates the folder inside the requesting user's personal "My Library" (owned by them) instead of a shared account folder. | |
| anonymousCanUpload | No | Whether anonymous users can upload media to the folder. | |
| anonymousCanDownload | No | Whether anonymous users can download media from the folder. |