Common Interface

Upload files

File upload interface, used to upload files to the platform, supporting batch file stream upload.

Supported file types:

  • Images: .jpg, .jpeg, .png, .gif, .bmp, .svg, .ico, .webp
  • Documents: .pdf, .doc, .xls, .ppt, .txt, .docx, .xlsx, .pptx
  • Archives: .zip, .rar, .7z, .tar, .gz

Note: We will detect file content to verify that the actual file type matches the extension.

post/open-api/v3/files/upload

Request

  • Base URL
    https://api-sandbox.interlace.money
  • URL
    https://api-sandbox.interlace.money/open-api/v3/files/upload
  • Auth
    API key in header x-access-token

Request body multipart/form-data

filesstring[] required

Files to upload

accountIdstring required

Account ID. For Gateway mode clients, accountId must be the sub-account ID.

Example request

{
  "accountId": "ba0a5c6d-ee96-4c44-82f1-dc306d325d8e"
}

Response

OK

codestring

Error code

messagestring

Error message

Example response

{
  "code": "400001",
  "message": "Invalid parameter",
  "data": [
    {
      "accountId": "ba0a5c6d-ee96-4c44-82f1-dc306d325d8e",
      "createTime": "1755501328659"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.