files

Create Account File (stream)

Upload a file to an account using multipart/form-data

Note: The /clients path is an alias for /accounts and will continue to work until users are individually notified and migrated.

File size limit: Files uploaded through this endpoint are currently capped at 6 MB. For larger files, upload the file to your own storage using a pre-signed URL and create the file record with POST /accounts/{account_id}/files, passing the file's URL instead of streaming the bytes.

post/accounts/{account_id}/files/upload

Request

  • Base URL: https://api.coperniq.io/v1
  • URL: https://api.coperniq.io/v1/accounts/{account_id}/files/upload
  • Auth: API key in header x-api-key

Path parameters

account_idstring required

Query parameters

namestring

Optional file name to store

content_typestring

Optional MIME type to associate with the file

phase_instance_idinteger

Optional phase instance id to associate with the file

Response

Successful response

idinteger required

File identifier

namestring required

File name

downloadUrlstring required

URL to download the file

Changes

No recorded changes to this operation across all 1 revision of this API.