--- title: "Upload a file into storage" slug: "upload-a-file-into-storage" updated: 2026-04-22T14:22:01Z published: 2026-04-22T14:22:50Z canonical: "docs.zilliant.com/upload-a-file-into-storage" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zilliant.com/llms.txt > Use this file to discover all available pages before exploring further. # Upload a file into storage Post/v1/EntityImport/{mappingId}/upload Uploads the file and its metadata into the storage service. SecurityAPI Key: AuthorizationHeader parameter nameAuthorization Add an **Authorization** header to authenticate requests originating outside of Zilliant's internal network. Set the header to `Authorization: OAuth <tokenResponseBase64>`. `<tokenResponseBase64>` is the Base64-encoded entire JSON response body returned by the Salesforce OAuth token endpoint. Encode the full JSON payload, not only the **access_token** field. For details, read [Request an access token](https://docs.zilliant.com/apidocs/request-an-access-token). Header parametersX-Forwarded-Hoststring OAuth host for your environment. Use it for all requests that originate outside Zilliant’s internal network. For details, read **X-Forwarded-Host header** in [Introduction](https://docs.zilliant.com/apidocs/introduction-2#xforwardedhost-header). Path parametersmappingIdstringRequired Mapping identifier returned in a successful 201 response from the [POST Send file metadata](https://docs.zilliant.com/apidocs/send-file-metadata) request. Body parametersobject filestring (binary) Required CSV file to upload. Your CSV file must follow the IETF RFC 4180 specification. In particular, if your field contains a double quote: - Enclose the entire field in double quotes - Add another double quote before each existing double quote in that field Example: - Original field: `Company name "Company" Inc` - Formatted CSV: `"Company name ""Company"" Inc"` Responses201 Created. Returns a JSON body with the `uploadId`. 404 Mapping ID not found.