curl --request POST \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/folders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Claims Documents"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Company Files
Create Folder
Creates a new folder in the company file system.
Optionally nest the folder under an existing parent by providing
parentFolderId. Omit it (or leave it out) to create a root-level
folder.
Required permission: company.file:create
POST
/
api
/
v1
/
external
/
companies
/
{companyId}
/
folders
curl --request POST \
--url https://app.aiinsurance.io/api/v1/external/companies/{companyId}/folders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Claims Documents"
}
'{
"id": "550e8400-e29b-41d4-a716-446655440001"
}Authorizations
API key authentication. Include your API key in the Authorization header.
Path Parameters
Company identifier
Body
application/json
Response
Folder created successfully
ID of the created folder
Was this page helpful?
