Query parameters
-
Comma separated list of relationships to include in the response. Valid relationships are [clients, file].
-
Filter by a comma separated list of UUIDs.
-
Filter by partial document title
-
date Filter documents created before a given date. Format: YYYY-MM-DD
-
date Filter documents created after a given date. Format: YYYY-MM-DD
-
Filter by a comma separated list of client UUIDs.
-
Comma separated string of circle UUIDs to filter by.
-
Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to 'updated_at'.
-
Number of results to return with pagination (Default 15. Max 500).
GET
/api/v1/document
curl \
--request GET 'https://api.plannrcrm.com/api/v1/document' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
"data": [
{
"name": "Welcome Template",
"uuid": "74d91fe3-92ec-4516-860f-b0d270fd7fc5",
"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/13b8e11f-e5b3-4567-8c21-6709d22e00a2/content/pdf?plannr_account_uuid=2a699c20-18b8-4968-ab50-e97d0903c023",
"public_docx_url": "https://api.plannrcrm.com/document/cd562c8e-6f7b-4046-a586-32000831e92d/content/docx?plannr_account_uuid=71b80f50-37fa-4644-a620-9a9304d2f9df",
"public_sfdt_url": "https://api.plannrcrm.com/document/55c65b6d-0584-4790-a5ab-9e3358ae6089/content/sfdt?plannr_account_uuid=f8cd9d43-1bbf-4069-88cc-054323afa303",
"known_dependants": {
"client-1": "fd732dd2-79fb-4eda-93d2-1249e9608412"
},
"public_preview_url": "https://api.plannrcrm.com/document/ab8a920f-0d88-42a5-9d05-9c3218dbcd8c/content/preview?plannr_account_uuid=3ee5bf12-f65d-44fa-813e-6c60ea0601f2",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}
]
}