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 file to upload
File uploaded successfully
Indicates if the upload was successful
Response message
Show child attributes
Unique identifier for the uploaded file
URL to access the uploaded file