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": "68551012-0ad6-4034-b961-89fbc9b6453b",
"created_at": "2026-10-10T13:35:31+01:00",
"updated_at": "2026-10-10T13:35:31+01: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-09T13:35:31+01:00",
"is_archived": false,
"is_locked": false,
"active_session_count": 0,
"sections": {
"uuid": "0a69638d-fcb4-4ee9-a95c-47e4c7e4957a",
"created_at": "2026-10-10T13:35:31+01:00",
"updated_at": "2026-10-10T13:35:31+01:00",
"fact_find_template": {
"uuid": "49ba0202-fd95-45b0-a102-fdc43e7badfe",
"created_at": "2026-10-10T13:35:36+01:00",
"updated_at": "2026-10-10T13:35:36+01: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-09T13:35:36+01: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": "449654be-da84-4e39-a8d6-4fe1e562d710",
"created_at": "2026-10-10T13:35:36+01:00",
"updated_at": "2026-10-10T13:35:36+01: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."
]
}
}