Files

Complete a file upload

Changed on

Completes a direct storage upload after the client has sent the bytes to the upload URL. The route verifies storage metadata and returns a ready file when the upload is attachable.

post/files/{fileId}/complete

Request

  • Base URL
    https://api.ando.so/v1
  • URL
    https://api.ando.so/v1/files/{fileId}/complete
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

fileIdstring required

File identifier.

Response

Completed file upload.

file_idstring required

File identifier. Matches data.id.

Example response

{
  "data": {
    "created_at": "2026-05-14T08:00:00.000Z",
    "file_id": "01jzn7e61x3a7v9h2r7t2m3q4p",
    "id": "01jzn7e61x3a7v9h2r7t2m3q4p",
    "updated_at": "2026-05-14T08:00:00.000Z",
    "upload": {
      "expires_at": "2026-05-14T08:00:00.000Z"
    }
  },
  "file_id": "01jzn7e61x3a7v9h2r7t2m3q4p"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status