Appearance
Create Document
Create a new document record. Requires the DOCUMENTS feature flag and ADMIN, CREATE_DOCUMENT, or MANAGE_DOCUMENTS permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
body.name* | string | The display name of the document |
body.content | object | The document content/body |
body.folderId | string | Optional folder to place the document in |
Return Value
The created document record.
Examples
bash
curl -X PUT "https://app.wombat.software/api/{targetPath}/document" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..." \
-d '{"name": "Safety Policy 2024"}'ENDPOINTS
put
/api/{targetPath}/document