Publish a fact-find template. Run in API Explorer
Ask AI
Allowed even when the template is locked — publishing only flips a flag
and never affects any in-flight or historical session. Pairs with
unpublish so an adviser can retire a locked template (preventing new
sessions from being created against it) and bring a clone forward as
the active version.
Rejected with a 422 if the template has been archived — a template is either live or archived, never both, and archiving is permanent.
POST
/api/v2/fact-find/templates/{factFindTemplate_uuid}/publish
curl \
--request POST 'https://api.plannrcrm.com/api/v2/fact-find/templates/6ff8f7f6-1eb3-3525-be4a-3932c805afed/publish' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"uuid": "0a0ecb69-158b-4c76-a0e4-307005eda497",
"created_at": "2026-10-30T16:30:06+00:00",
"updated_at": "2026-10-30T16:30:06+00:00",
"name": "My Fact-Find Template",
"display_name": "Welcome Pack",
"description": "A comprehensive fact-find template for new clients.",
"opening_statement": "Welcome to our fact-find process...",
"closing_statement": "Thank you for completing the fact find",
"is_published": true,
"archived_at": "2026-10-29T16:30:06+00:00",
"is_archived": false,
"is_locked": false,
"active_session_count": 0,
"sections": {
"uuid": "4a2326fe-833b-4f8b-9c12-7acd376ea223",
"created_at": "2026-10-30T16:30:06+00:00",
"updated_at": "2026-10-30T16:30:06+00:00",
"fact_find_template": {
"uuid": "230cc522-a328-4407-b4c6-70fdc2869e8b",
"created_at": "2026-10-30T16:30:12+00:00",
"updated_at": "2026-10-30T16:30:12+00:00",
"name": "My Fact-Find Template",
"display_name": "Welcome Pack",
"description": "A comprehensive fact-find template for new clients.",
"opening_statement": "Welcome to our fact-find process...",
"closing_statement": "Thank you for completing the fact find",
"is_published": true,
"archived_at": "2026-10-29T16:30:12+00:00",
"is_archived": false,
"is_locked": false,
"active_session_count": 0
},
"name": "Personal Details",
"introduction_html": "<p>Please provide your personal details below.</p>",
"position": 1,
"is_complete": false,
"blocks": {
"uuid": "3a6cfd55-174b-4d40-944d-2a94630319f0",
"created_at": "2026-10-30T16:30:12+00:00",
"updated_at": "2026-10-30T16:30:12+00:00",
"name": "Income Details",
"introduction_html": "<p>Please provide your income details below.</p>",
"position": 1
}
}
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}