POST
/
upload
Upload a file
curl --request POST \
  --url https://api-staging.reporta.ng/api/v1/upload \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "url": "<string>"
  }
}

Body

multipart/form-data

File to upload

The body is of type object.

Response

200
application/json

File uploaded successfully

The response is of type object.