cURL
curl --request POST \ --url https://api.hopx.dev/v1/templates/files/upload-link \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "content_length": 2, "files_hash": "<string>" }'
{ "expires_at": "<string>", "files_hash": "<string>", "present": true, "request_id": "<string>", "upload_url": "<string>" }
Get a presigned URL for uploading template build files to R2/S3
API key for authentication (format: sk_live_...)
File upload request
x >= 1
Presigned upload URL
Return hash for COPY step