files

Create Account File (from URL)

Upload a file to an account by providing its URL

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

post/accounts/{account_id}/files

Request

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

Path parameters

account_idinteger required

Account identifier

Request body

urlstring uri required

URL of the file to upload

namestring

Name of the file

isArchivedboolean

Whether the file is archived

Response

Successful response

idinteger required

File identifier

namestring required

File name

downloadUrlstring required

URL to download the file

typestring required

File type

updatedAtstring date-time required

Last update timestamp

createdAtstring date-time required

Creation timestamp

isArchivedboolean

Whether the file is archived

sourcestring required

File source (e.g., INTERNAL)

Changes

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