Get a document
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
GET
/api/v1/document/{uuid}
curl \
-X GET https://api.plannrcrm.com/api/v1/document/uuid \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"name": "Welcome Template",
"uuid": "d10da6c7-29f5-4577-bdf4-4cfdc0897076",
"status": "published",
"version": 3,
"created_at": "2025-01-20T22:37:19+00:00",
"updated_at": "2025-01-20T22:37:19+00:00",
"public_pdf_url": "https://plannr.valet/document/29aa5d19-089e-49e9-ab93-91986a47ed32/content/pdf?plannr_account_uuid=ce74e5c9-c762-441c-bfe7-5f94ab5f66fe",
"public_docx_url": "https://plannr.valet/document/103c9cd9-0f78-4929-9ab6-b9aff78ebc50/content/docx?plannr_account_uuid=c7174e76-e7bb-42e2-bf42-cbd7833f5be4",
"public_sfdt_url": "https://plannr.valet/document/7caa780f-adb3-4071-a66e-67367a05bb26/content/sfdt?plannr_account_uuid=98fd7010-c988-4ae5-a2b0-5b89b33ac428",
"known_dependants": {
"client-1": "384fbc7f-bfa2-4bf5-9f5e-e4ca6a41588e"
},
"public_preview_url": "https://plannr.valet/document/e0deae12-d4b1-4d08-9e21-412230649d8a/content/preview?plannr_account_uuid=0558ac83-9a53-4ed2-a38b-696463015d59",
"required_dependants": {
"client-1": "client"
}
}