Solo CRM
Reference

attachments · startUpload

Requires `record:write`.

POST
/{orgSlug}/attachments/startUpload

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/attachments/startUpload" \  -H "Content-Type: application/json" \  -d '{    "resourceType": "company",    "resourceId": "026d60bb-63a8-407e-bf67-01dcfc6022e6",    "filename": "string",    "contentType": "string",    "size": 1  }'
{  "ok": true,  "data": null}