cURL
curl --request POST \ --url https://production.hifibridge.com/v2/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file=@example-file
{ "id": "file_zEFpbPhk71NaQfEVMR544", "createdAt": "2023-10-01T12:00:00Z", "fileName": "document.pdf", "size": 204800, "mimeType": "application/pdf" }
Upload a file.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
File uploaded successfully
File ID
The time the file was uploaded
The name of the uploaded file
The size of the uploaded file in bytes
The MIME type of the uploaded file