Create File
POST /v2/partner/files
Required scopes
partner:files:write
Tokens missing any required scope return 401 scope_missing.
See Auth & Scopes for issuance.
Operation
| Operation ID | createFile |
| Tags | Operations |
Request body
Required
object
| Field | Type | Description |
|---|---|---|
| upload_token * | string | |
| name * | string | |
| alt_text | string |
Responses
201
Created
object
| Field | Type | Description |
|---|---|---|
| id * | id | UUID v4. |
| type * | enum (1) | file |
| team_id * | id | UUID v4. |
| name * | string | |
| mime_type * | string | |
| size_bytes * | integer | |
| storage_url * | string | |
| alt_text | string | |
| is_archived * | boolean | |
| inserted_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
| updated_at * | updated_at | RFC 3339 / ISO 8601 timestamp. |
Example request
POST https://api.digitalonboarding.com/v2/partner/files
Authorization: Bearer <partner-token>
Content-Type: application/json
Idempotency-Key: <uuid-v4>
{ /* request body matching schema above */ }