Uploads
Create an image upload link
Changed onCreate a single-use link that accepts one image upload into this project, for tools that can run curl but hold no Gleap credentials (e.g. an AI agent connected through the Gleap MCP server). The link expires after 15 minutes and works once:
curl -sS -F "file=@cover.png" "<uploadUrl>"
Accepts PNG, JPEG, GIF and WebP up to 20 MB (judged by the file's bytes, not its name). The response carries the image's permanent public fileUrl.
post/uploads/links
Request
- Base URL: https://api.gleap.io/v3
- URL: https://api.gleap.io/v3/uploads/links
- Auth: HTTP bearer
Headers
projectstring required
Response
Ok
Changes
- ○
endpoint added
- ○