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": "72f8fa47-9655-40a8-9e71-2f6e7b7547a2",
"status": "published",
"version": 3,
"created_at": "2024-11-20T13:24:02+00:00",
"updated_at": "2024-11-20T13:24:02+00:00",
"public_pdf_url": "https://plannr.valet/document/0e27a286-afe5-4db3-971b-4870c3c16514/content/pdf?plannr_account_uuid=7df51099-efff-42aa-9673-e1923c981eaf",
"public_docx_url": "https://plannr.valet/document/c9f2aef9-032f-470d-954a-32c85f679efd/content/docx?plannr_account_uuid=d4d32609-28bc-4285-9a6d-2220fc1d99ea",
"public_sfdt_url": "https://plannr.valet/document/1df810d7-3c54-43b7-8a2c-42dbf7510e6a/content/sfdt?plannr_account_uuid=9acb6cae-a5d7-422e-ac9c-aa330c183482",
"known_dependants": {
"client-1": "eb7e58d0-476a-463e-b4b3-f0cb458b3eff"
},
"public_preview_url": "https://plannr.valet/document/917075cf-8bc0-42ef-8699-3912b0650603/content/preview?plannr_account_uuid=7d19718f-6448-4700-b1ed-539a0ac32c86",
"required_dependants": {
"client-1": "client"
}
}