Subfolders
Create Subfolder
Changed onCreates a new subfolder within a folder. The subfolder will be created with the next available position.
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 authorization granting the update permission on this folder can also be used.
post/folders/{folderId}/subfolders
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/folders/{folderId}/subfolders
- AuthHTTP bearer
Path parameters
folderIdstring required
Example:abc123def4
The hashed ID of the folder
Headers
X-Wistia-API-Versionstring required
Request body
Example request
{
"name": "Marketing Videos",
"description": "Collection of all marketing and promotional videos"
}Response
Subfolder created successfully
Example response
{
"hashed_id": "abc123def4",
"name": "Marketing Videos",
"description": "Collection of all marketing and promotional videos",
"position": 1,
"created": "2024-01-15T10:30:00+00:00",
"updated": "2024-01-20T14:45:00+00:00"
}Changes
- info
endpoint added
- info