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": "c1571285-dcfa-43e5-9b11-491c15f10fc8"
}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"client_uuid": "c1571285-dcfa-43e5-9b11-491c15f10fc8"
}
Response examples (401)
{
"message": "Unauthenticated."
}
Response examples (422)
{
"message": "The given data was invalid.",
"errors": {
"field": [
"The field is invalid."
]
}
}