cURL
curl --request POST \ --url https://api.heyy.io/api/v2.0/upload_file \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>' \ --form 'format=<string>'
{ "data": { "id": "<string>", "name": "<string>", "size": 123, "format": "<string>", "url": "<string>", "createdAt": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
File to upload
File format
Show child attributes