Skip to main content
View Markdown
TemplatesAuth requiredcreateTemplatePreparationSession

Create an embedded Document Template preparation session

POSThttps://api.blueink.com/api/v2/templates/preparation_session/

Create an embedded Document Template preparation session

POST 

/templates/preparation_session/

Create a short-lived, single-use URL that hosts the Blueink Document Template authoring experience inside an iframe in your application. The end user can upload a PDF, define roles, place fields, and save the template — all without leaving your app.

Pass template_id to open an existing Document Template for editing. Omit it to start a new-template authoring flow; team and library are only applied in that case (they are ignored when template_id is provided).

The returned url is valid until expires; load it in an iframe to start the session.

The request returns 403 when embedded Document Template preparation is not active on the account. Talk to Blueink Support if this feature is not active on your account.

Request​

Responses​

The template preparation session was created.