Generate the PDF for a fact-find schema and save it to the client's documents. [DEPRECATED: Use the v2 fact-find template routes]
Deprecated
Run in API Explorer
Ask AI
POST
/api/v1/fact-find/schema/{factFindSchema_uuid}/generate-pdf
curl \
--request POST 'https://api.plannrcrm.com/api/v1/fact-find/schema/6ff8f7f6-1eb3-3525-be4a-3932c805afed/generate-pdf' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"client_uuid":"b2bb57b8-7936-4858-906b-377304e531e6"}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"client_uuid": "b2bb57b8-7936-4858-906b-377304e531e6"
}
Response examples (401)
{
"message": "Unauthenticated."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}