Skip to main content
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiinsurance.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Path Parameters

companyId
string<uuid>
required

Company identifier

Body

application/json
name
string
required

Folder name (must be non-empty)

category
string

Optional category label

parentFolderId
string<uuid>

Parent folder ID to nest under (omit for root-level)

Response

Folder created successfully

id
string<uuid>

ID of the created folder