Documentation Index
Fetch the complete documentation index at: https://docs.ugc.inc/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Overview
This endpoint generates a short-lived Vercel Blob client token for direct uploads. Upload the file with the returnedpathname and clientToken, then call /media/create to register the uploaded blob as media in your organization.
Upload flow:
- Call
/media/create/urlwith the filename and optional MIME type - Upload the file directly to Vercel Blob using
put(pathname, file, { token: clientToken }) - Call
/media/createwith the uploaded blob URL to create the media record
Request Body
Original filename. The API prefixes the stored path with your organization ID
and adds a random suffix to avoid collisions.
Optional MIME type (for example
image/jpeg or video/mp4). When omitted,
the token allows image, video, and audio uploads.Response
Upload token payload
