Create a tent
Create a tent and queue its first generation from a prompt, an approved template, or both. Generation is asynchronous: poll GET /v1/tents/{tentId} for progress. Creating from a template without a prompt copies the template synchronously and returns 201.
Authorizations
Workspace API key, e.g. Authorization: Bearer tented_.... Create keys in Workspace Settings → API Keys.
Body
Tent name.
1Generation prompt. Required unless template_id is provided (then it describes the customization to apply).
1External identifier recorded as the creator of the generation. Does not affect authentication or scope.
Pull workspace brand context (logo, colors, company info, brand guidelines) into the generation.
Create from an approved template in the same workspace.
Publish automatically after a successful generation.
Custom published alias: max 100 characters; lowercase letters, numbers, hyphens, underscores, and dots; must start with a letter or number; must not be a UUID or a reserved word (api, admin, submit, assets, …). Use / to publish at the domain root. Requires auto_publish: true.
100Structured personalization data made available to the generation as tokens.
Deprecated alias of token_data.
Generate into an existing idle tent — use this after uploading assets to /v1/tents/new/assets.
Up to 5 uploaded asset IDs to reference. Requires tent_id.
5Response
Template copied synchronously (template create without a prompt).