---
title: "Upload evidence file"
method: POST
path: "/v1/disputes/{disputeId}/file"
tags: ["Evidence files"]
---

# Upload evidence file

`POST /v1/disputes/{disputeId}/file`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/v1/disputes/{disputeId}/file`
- Auth: none declared

Upload a file for the dispute process.

## Path parameters

- `disputeId` number, required

## Request body `multipart/form-data`

- object
  - `name` string, required: File name. VISA - Anything alphanumeric, no special characters, 20 chars maximum. Mastercard - At least a number and a letter and no special characters. 9 chars maximum.
  - `category` 'PERSONAL' | 'CARD' | 'OTHERS' | 'PRE_ARBITRATION', required: File category
  - `file` string, binary, required: Uploaded file. Max size = 14Mb. Must have one of these extensions: .jpg, .jpeg, .tif, .tiff and .pdf.
  - `dispute_installment_id` number: Dispute installment ID. If not passed, the first Installment is used.

## Response `200`

OK

- DisputeFileResponse
  - `id` number: Dispute file ID.
  - `org_id` string: Organization ID
  - `dispute_id` number: Dispute ID
  - `dispute_installment_id` integer: Dispute installment ID.
  - `installment` number: Installment number.
  - `path` string: Organization file path.
  - `file_name` string: File name.
  - `category` 'PERSONAL' | 'CARD' | 'OTHERS' | 'PRE_ARBITRATION': File category

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `404`: Not Found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
