PUT
/api/v1/document/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/document/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Client Service Agreement","client_uuids":["c2f3f5ea-a748-4048-b5c9-ab30551fa7d2","7e859405-66ca-4a3b-b9f6-039c81b404e8"],"known_dependants":[{"client-1":"20668fb2-5321-47f9-91f9-765e2b662541"}]}'
Request examples
# Headers
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"name": "Client Service Agreement",
"client_uuids": [
"c2f3f5ea-a748-4048-b5c9-ab30551fa7d2",
"7e859405-66ca-4a3b-b9f6-039c81b404e8"
],
"known_dependants": [
{
"client-1": "20668fb2-5321-47f9-91f9-765e2b662541"
}
]
}
Response examples (200)
{
"name": "Welcome Template",
"uuid": "d33bcd10-3a0d-4f6c-88fe-474b2beb4b29",
"status": "published",
"version": 3,
"created_at": "2025-07-17T16:23:22+01:00",
"updated_at": "2025-07-17T16:23:22+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/2bb9a200-f3f3-4cfa-98cf-39804d847634/content/pdf?plannr_account_uuid=6ca417ad-ac5d-4049-b07b-7395c09c344e",
"public_docx_url": "https://api.plannrcrm.com/document/4bc477dc-fe8f-41c1-aec8-1e866ffe3d5f/content/docx?plannr_account_uuid=2d2d7474-56d9-4b6c-8458-324dc106aed9",
"public_sfdt_url": "https://api.plannrcrm.com/document/3da86063-bffb-487d-805e-4107b033eb1f/content/sfdt?plannr_account_uuid=9d22221d-a255-4e67-9756-3dae2d13f04b",
"known_dependants": {
"client-1": "88203e3c-9a34-403d-9dfe-e3def6325f26"
},
"public_preview_url": "https://api.plannrcrm.com/document/1bc06012-a0c6-4614-9784-b4ff1f3e3933/content/preview?plannr_account_uuid=cbbe3779-af6e-42c3-a491-75be5e42f6ca",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}