POST
/
files
/
upload
curl --request POST \
  --url https://app.disputeninja.io/api/v1/files/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'stripe_dispute_id=<string>'
{
  "message": "<string>",
  "dispute_id": "<string>",
  "stripe_dispute_id": "<string>",
  "file": {
    "id": "<string>",
    "url": "<string>",
    "name": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Response

200
application/json

File uploaded successfully

The response is of type object.