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": "010e4851-ab7d-46d6-8448-475b5ea72e69",
"status": "published",
"version": 3,
"created_at": "2025-09-17T15:46:52+01:00",
"updated_at": "2025-09-17T15:46:52+01:00",
"public_pdf_url": "https://api.plannrcrm.com/document/b067d5c1-d4ba-4f87-a302-1bcb5a169184/content/pdf?plannr_account_uuid=0b072e27-b50a-4904-84e3-efa469b5d78b",
"public_docx_url": "https://api.plannrcrm.com/document/92e5a1d8-17d3-4cca-acce-34808a2dcad1/content/docx?plannr_account_uuid=6f333dca-b8b1-448e-aad4-69f9888aa2cd",
"public_sfdt_url": "https://api.plannrcrm.com/document/f3877da4-c1e0-44d6-92d9-b517d8782b4f/content/sfdt?plannr_account_uuid=d15b3fbd-58b1-49ef-b1fa-e24b03c5207b",
"known_dependants": {
"client-1": "ce4bb02c-9248-43ba-b451-ef14123785f9"
},
"public_preview_url": "https://api.plannrcrm.com/document/3c881d1a-3fca-4074-a11c-dfd8b00bef7d/content/preview?plannr_account_uuid=23eed227-bfc4-4e69-a890-529fd239e121",
"required_dependants": {
"client-1": "client"
},
"last_publishing_error": "There was an error converting this file to PDF. Please try again later."
}
]
}