Endpoint
Request Body
Array<{ content: string; name?: string; tag?: string }>
Non-empty array of text payloads.
Response
{ data: UserMedia[]; message: string }
Created text media entries.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create text media entries from raw text content
POST https://api.ugc.inc/media/create/text
const res = await client.media.importText({
texts: [{ content: 'Hook line', name: 'hook-1', tag: 'hooks' }],
});
