# Upload file

Upload the event or transaction data in a CSV file to Zuora Revenue in UTF-8.

Note: It is recommended to have up to 60k lines per request in this operation.

Endpoint: POST /api/integration/v1/upload/file
Version: 2025-08-06

## Header parameters:

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

  - `templatename` (string, required)
    Name of the upload template that you want to use.

  - `Content-Type` (string, required)
    Must be set to "multipart/form-data".
    Enum: "multipart/form-data"

## Request fields (multipart/form-data):

  - `file` (string, required)
    The path to the CSV file that is to be uploaded.

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

  - `message` (string)
    Response Message

  - `status` (string)
    Response Status

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

  - `message` (string)
    Response Message

  - `status` (string)
    Response Status


