cURL
curl --request POST \ --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/files/upload \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'conversationId=<string>'
{ "success": true, "data": { "fileId": "<string>", "filename": "<string>", "mimeType": "<string>", "size": 123, "url": "<string>", "createdAt": "2023-11-07T05:31:56Z", "conversationId": "<string>" }, "meta": { "timestamp": "2023-11-07T05:31:56Z", "requestId": "<string>" } }
multipart/form-data
file
conversationId
Auth0 access token for registered users.
File uploaded.
true
Show child attributes