Templates
Create template
Creates a draft template owned by the user that minted the API key. Drafts are not renderable until published. The source is normalized through the same pipeline the app uses and should define a top-level #let render(...) entry function whose named parameters match the schema fields.
External ids are case-sensitive and stay reserved after a template is deleted.
post/v2/organizations/{organizationId}/templates
Request
- Base URL: https://api.pdfs.build
- URL: https://api.pdfs.build/v2/organizations/{organizationId}/templates
- Auth: HTTP bearer
Request body
Example request
{
"scopePath": "acct_9f3/entity_dubai/"
}Response
The created draft, including both the generated internalId and your externalId.
Example response
{
"scopePath": "acct_9f3/entity_dubai/",
"createdAt": "2026-08-30T12:00:00.123456",
"updatedAt": "2026-08-30T12:00:00.123456"
}Changes
No recorded changes to this operation across all 1 revision of this API.