Skip to main content
The Yumi API lets you manage hosted media from your own application. Requests use JSON unless you are sending file bytes to the temporary upload URL.
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 the Authorization header for every API request:
Keep API keys on a trusted server. Do not expose them in browser code or public repositories. If a key is exposed, revoke it from the API Keys page and create another.

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.
Each file includes its 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 JSON body requires: The response contains fileId, uploadUrl, and expiresIn (600 seconds). Upload the bytes with a PUT request to uploadUrl, then finalize the upload:
The completion response includes the file details and its share URL.

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 includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset response headers on supported endpoints.

Errors

Errors use a JSON response with ok: false and an error code. For example:
If you receive a 500 response, contact Yumi Support.