Create Folder
Changed onCreates 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 anything
Tokens 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.
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/folders
- AuthHTTP bearer
Headers
Request body
Example request
{
"name": "My New Folder",
"adminEmail": "admin@example.com",
"description": "My New Folder Description"
}Response
Folder created
Example response
{
"id": 22570,
"name": "My Folder Title",
"description": "About My Folder",
"media_count": 2,
"created": "2010-08-13T18:47:39+00:00",
"updated": "2010-08-19T21:47:00+00:00",
"hashed_id": "4d23503f70",
"public_id": "4bD",
"kind": "shared"
}Changes
- info
endpoint added
- info