Templates
Create Template Editing Session
Creates a new editing session for the Embedded Editor. The response includes an E-Token, which is required to open the template.
Limitations
-
Single Active Session per User-Template Pair Only one editing session can be active at a time for a specific user and template. Creating a new session for the same user-template pair will automatically invalidate the previous one.
-
Weekly Session Cap A maximum of 250 editing sessions can be created for a single template per week. Any attempt to exceed this limit will result in a 403 Forbidden error.
post/public/v1/templates/{id}/editing-sessions
Path parameters
idstring required
Template ID
Request body
Example request
{
"email": "john.doe@pandadoc.com",
"lifetime": 3600
}Response
Template Editing Session created
Example response
{
"id": "ce9825e5-3210-4a8f-1230-f32b643295d2",
"email": "eric@pandadoc.com",
"expires_at": "2025-01-10T00:09:09.612651Z",
"key": "985b695b56eaaa571e9bb8e522afd5bd335c32d7",
"token": "985b695b56eaaa571e9bb8e522afd5bd335c32d7",
"template_id": "a53a2f96b91d47f99ee33f"
}