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.

Requires the API_PREPARE_DOC_TEMPLATE account feature; the request returns 403 if the feature is not enabled.

Request

Responses

The template preparation session was created.