Create an API key from Dashboard → API Keys. Yumi shows the full key only once. Store it securely and send it as a bearer token.
Base URL
Authentication
Send your key in theAuthorization header for every API request:
Endpoints
Check API health
GET /health checks that your API key is valid and the API is responding.
List files
GET /files returns files in your account, newest first. Use limit to choose a page size from 1 to 100 (default: 25). When nextCursor is non-null, pass it back as cursor to fetch the next page.
id, originalName, mime, sizeBytes, status, visibility, url, rawUrl, and createdAt.
Upload a file
Uploads use a temporary direct-upload URL. First request the URL:
The response contains
fileId, uploadUrl, and expiresIn (600 seconds). Upload the bytes with a PUT request to uploadUrl, then finalize the upload:
Get a file
GET /files/{id} returns one file belonging to your account.
Delete a file
DELETE /files/{id} deletes one of your files.
Rate limits
Rate limits are applied per API key in a one-minute window. The API includesX-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers on supported endpoints.
Errors
Errors use a JSON response withok: false and an error code. For example:
If you receive a
500 response, contact Yumi Support.