Solo CRM
Reference

files · ensureFolderPath

Requires `record:write`.

POST
/{orgSlug}/files/ensureFolderPath

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from Settings → Connect to Agents, or an OAuth access token. Never the session cookie.

In: header

Path Parameters

orgSlug*string

The workspace. Membership is what authorizes it.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/string/files/ensureFolderPath" \  -H "Content-Type: application/json" \  -d '{    "parentId": "string",    "segments": [      "string"    ]  }'
{  "ok": true,  "data": null}