Template folders
RenderingTemplate folders
Organize saved designs into folders.
bash
POST /v3/template-folders { "name": "Campaigns" } → 201 { id }
GET /v3/template-folders → { folders: [ … ] }
DELETE /v3/template-folders/:idAuthentication and scope
All three calls need a secret server key, as Authorization: Bearer sk_live_… or ?token=sk_live_…. A publishable pk_live_ token, an inactive key or no key gets 401 with { "error": "invalid_token" }. See authentication.
Folders belong to the key's organization. The list shows only that organization's folders, and deleting a folder id from another organization returns 404 not_found, the same as an unknown id.
Request and response
nameis required, 1 to 200 characters after trimming. A missing or blank name returns400invalid_input.- Create returns
{ id, name, created_at }. Folder ids start withfld_. - Each listed folder has
id,organization_id,nameandcreated_at. - A successful delete returns
{ "removed": true }.
Limits today
Folders are saved with your workspace, but the /v3/templates endpoints do not take a folder id yet. Deleting a folder never touches your templates.