API Reference
(Beta) File Upload URL
Generate a presigned URL to upload your file to Tako
GET
Notes
- To authenticate, you’ll need a Tako API key. It’s best practice to store it as an environment variable to avoid hardcoding sensitive credentials in your code.
- Supported file formats:
.csv
,.xls
,.xlsx
,.parquet
- File size is limited to 5MB currently
Uploading Your File (Using the Response)
Once you call the GET /v1/beta/file_upload_url endpoint, you’ll receive a response with:
- A url to POST your file to (typically an S3 bucket)
- A fields object containing required form fields
Step-by-step Instructions
- Make a POST request to the provided url
- Include all fields as form fields
- Attach your file as
file=@<path>
in a multipart/form-data request
Example Using cURL
Example File Upload
Replace each
...
with the exact value returned in the fields object from the upload URL response. Do not modify or omit any fields — they are required for the upload to succeed.Authorizations
Query Parameters
Name of the file
Response
200 - application/json
Presigned URL and fields to upload a file
The response is of type object
.