Create a folder
Create a new folder for documents or templates.
type selects which entity the folder organizes. Pass parentFolderId to nest under an existing folder.
Authorizations
Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
Headers
Bearer token for API authentication
Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
255Body
Body
Response
200
Unique folder identifier
Folder name
Folder type: DOCUMENT or TEMPLATE
DOCUMENT, TEMPLATE Parent folder id, or null for top-level folders
Number of direct child folders (non-deleted)
-9007199254740991 <= x <= 9007199254740991Number of documents or templates directly in this folder
-9007199254740991 <= x <= 9007199254740991
