v3

OpenAPI 3.0.42026-07-312008682.1 MB
Accounts

Upload and link file to account

Attaches the specified file to the account.

Allowed MIME types: application/pdf, image/bmp, image/gif, image/jpeg, image/png, image/tiff.

Note this operation supports Portfolio Access Tokens.

post/api/connector/v1/accounts/addFile

Request body

ClientTokenstring required

Token identifying the client application.

AccessTokenstring required

Access token of the client application.

Clientstring required

Name and version of the client application.

ChainIdstring uuid nullable

Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.

AccountIdstring uuid required

Unique identifier of the account to which the file will be uploaded to.

Namestring required

Uploaded file name.

Typestring required

Content type of the uploaded file following defined by its MIME type.

Datastring required

Uploaded file data serialized in base64 format.

Response

OK

FileIdstring uuid required

Unique identifier of the uploaded file.