Documents
Submit a document
Submit exactly one of contentBase64 or sourceUrl. Bytes are stored immediately; HTTP(S) URLs are retained verbatim as PENDING_DOWNLOAD references without fetching or signing. URL acceptance does not establish file availability. contentType describes the declared file type.
POST
Authorizations
Source-bound WorkOS API key or configured machine OIDC token. OIDC webhook management requires karsa:webhooks:manage.
Headers
Stable source submission identifier, unique for this source and route
Required string length:
1 - 200Example:
"01J9ZQ2YD15Y2YZ5H0W3J7D3E2"
Body
application/json
- Option 1
- Option 2
Required string length:
1 - 200Required string length:
1 - 200Required string length:
1 - 500Required string length:
1 - 200Required string length:
1 - 16777216Required string length:
1 - 200Required string length:
1 - 500