get
https://apis.elai.io/api/v1/uploads/signedUrl
API to retrieve signed URL to upload media directly to our storage
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
curl -X GET 'https://apis.elai.io/api/v1/uploads/signedUrl?name=<name>&mimetype=<mimetype>' \
-H 'Authorization: Bearer YOUR_API_TOKEN'
{
"signedUrl": "https://elai-us-prod.s3.us-east-2.amazonaws.com/production/uploads/627a7bfac1806e45fa2ab26f/file.file?Content-Type=image%2Fjpeg&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAW6FMUIGA6NPIQQ5B%2F20230626%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20230626T083440Z&X-Amz-Expires=600&X-Amz-Signature=2daea7a215583185e5720f934350fecb7d44644640045b67aaf04130c8ac138&X-Amz-SignedHeaders=host"
}
Next: upload-confirm — the signed URL is only half of the upload.
