# Retrieve the asynchronous upload status

Returns the status of an **asynchronous** file upload (`POST /v1/upload/file?async=true`).
Use the `id` returned in the `202` response as `upload_id`.
Poll until `status` is `Successfully Uploaded` or `Error in Upload`. The `message` field
reports the number of records loaded and rejected, for example `Success: 2480 Failed: 20`.
When records failed, call "List rejected rows of an asynchronous upload" with the same
`upload_id` to get the rejected records.
| Status | Message | Description |
|  --- | --- | --- |
| `In Progress` | `Data Received` | File accepted; records are being loaded. |
| `Successfully Uploaded` | `Success: <n> Failed: 0` | All records loaded into Revenue Line Staging. |
| `Error in Upload` | `Success: <n> Failed: <m>` | Partial upload: `<n>` good records were loaded; `<m>` records with an invalid format or data type were rejected. |
| `Error in Upload` | `No metadata found for the API upload` | The template definition could not be read. |

Tip: Store the `id` and `file_name` from the `202` response in your integration layer so
you can track the upload and retrieve its errors later.

Endpoint: GET /api/integration/v1/upload/file/status/{upload_id}
Version: 2026-11-02
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Path parameters:

  - `upload_id` (integer, required)
    The upload `id` returned by the asynchronous file upload.

## Header parameters:

  - `token` (string, required)
    The valid authentication token that is generated by the Authentication operation.

## Response 200:

  - `200` (unknown)
    The status of the asynchronous upload is returned.

## Response 200 fields (application/json; charset=utf-8):

  - `Status` (string)
    Example: Success

  - `Message` (string)

  - `Result` (object)

  - `Result.id` (integer)
    Upload id.
    Example: 20458

  - `Result.upload_id` (integer)
    Id of the upload template.
    Example: 301

  - `Result.status` (string)
    Upload status. `Error in Upload` means one or more rows were rejected.
    Enum: "In Progress", "Successfully Uploaded", "Error in Upload", "Failed"

  - `Result.message` (string)
    Processing message, for example `Data Received` or `Success: 4985 Failed: 15`.
    Example: Success: 4985 Failed: 15

  - `Result.client_id` (integer)
    Example: 1

## Response 204:

  - `204` (unknown)
    No asynchronous upload was found for the specified `upload_id`.

## Response 400:

  - `400` (unknown)
    The request could not be processed.

## Response 400 fields (application/json; charset=utf-8):

  - `Status` (string, required)
    Enum: "Error"

  - `Message` (any)
    Error message. For a rejected synchronous upload on the v2 status API, a list of load errors.

  - `Result` (any)
    Usually `null`.

## Response 401:

  - `401` (unknown)
    The token is invalid, expired or could not be decoded.

## Response 401 fields (application/json):

  - `Status` (string, required)
    Enum: "Error"

  - `Message` (any)
    Error message. For a rejected synchronous upload on the v2 status API, a list of load errors.

  - `Result` (any)
    Usually `null`.

## Response 403:

  - `403` (unknown)
    The request is not permitted for this tenant or is missing tenant-required headers.

## Response 403 fields (application/json):

  - `Status` (string, required)
    Enum: "Error"

  - `Message` (any)
    Error message. For a rejected synchronous upload on the v2 status API, a list of load errors.

  - `Result` (any)
    Usually `null`.

  - `Message` (string)

## Response 404:

  - `404` (unknown)
    `upload_id` is not a valid integer.

## Response 500:

  - `500` (unknown)
    Unexpected server-side error.

## Response 500 fields (application/json):

  - `Status` (string, required)
    Enum: "Error"

  - `Message` (any)
    Error message. For a rejected synchronous upload on the v2 status API, a list of load errors.

  - `Result` (any)
    Usually `null`.

## Response 200 examples:

  - `Upload is still being processed` (unknown)

  - `All rows loaded` (unknown)

  - `Some rows were rejected` (unknown)

