Create Folder
Create Folder
Creates a new folder for the authenticated user.
You can optionally create the folder inside another folder using parent_id.
Method: POST
URL: {{base_url}}/folders
Authentication
This endpoint requires authentication.
Use a Bearer token in the Authorization header:
Headers
Required Variables
Body (raw JSON)
Send the request body as raw JSON.
Example request body:
Notes:
- If
parent_idis null or omitted, the folder will be created at the root level. - If
parent_idis provided, the folder will be created inside that folder.
Sample Request
Sample Success Response
A successful request typically returns HTTP 200 OK.
Response Fields
Common Errors
-
400 Bad Request
- Missing
name - Invalid
parent_id
- Missing
-
401 Unauthorized / 403 Forbidden
- Missing or invalid
Authorizationheader - Expired
{{access_token}}
- Missing or invalid
-
404 Not Found
- Provided
parent_iddoes not exist
- Provided
Notes
- Folder names do not need to be unique, but it’s recommended for better organization.
- Useful for creating nested folder structures.
- The folder will belong to the authenticated user automatically.
Request
This endpoint expects an object.
name
parent_id
Response
Created
data
message
success
