File threads in folder
POST
Files one or more threads into a folder and returns a per-thread outcome of ok, not_found, or not_allowed. Captains file only into Captain folders.
bearerAuthheader
AuthorizationBearer <token>An API key created in Capy under Settings → API.
folderId*stringapplication/json- body
threadIds*array<string>FileThreadsResult
application/json- response
outcomes*array<>curl -X POST "https://api.capy.ai/api/v1/folders/{folderId}/threads" \ -H "Authorization: Bearer $CAPY_API_KEY" \ -H "Content-Type: application/json" \ -d '{"threadIds":[]}'{ "outcomes": [ { "threadId": "string", "outcome": "ok" } ]}