cURL
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>" } }
Endpoint to upload a single file
File to upload
The body is of type object.
object
File uploaded successfully
The response is of type object.