---
title: "Upload dispute file"
method: POST
path: "/v4/spend/profiles/{profileId}/dispute-form/file"
tags: ["disputes"]
---

# Upload dispute file

`POST /v4/spend/profiles/{profileId}/dispute-form/file`

Upload a file for use in a dispute submission. Use the returned file ID in the `files` object when submitting a dispute.

A dispute referencing the returned file ID must be submitted no later than **two hours** after the file upload, otherwise the file will expire and must be re-uploaded.

## Path parameters

- `profileId` integer, required

## Headers

- `X-External-Correlation-Id` string, uuid

## Response `200`

A key-value pair mapping the file name to the assigned file ID.

- object — Object with the file field name as key and the assigned file ID as value.

## Other responses

- `429` — Rate limit exceeded. Retry after the number of seconds specified in the `Retry-After` header.

---

[API](https://skmtc.dev/wise/apis/platform-api.md) · [All operations](https://skmtc.dev/wise/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wise/platform-api/revisions/4907a1d269ab/schema)
