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
POST https://api.ugc.inc/media/create/text
Request Body
texts
Array<{ content: string; name?: string; tag?: string }>
Non-empty array of text payloads.
Response
data
{ data: UserMedia[]; message: string }
Created text media entries.
TypeScript
const res = await client.media.importText({
texts: [{ content: 'Hook line', name: 'hook-1', tag: 'hooks' }],
});