Get all documents Run in API Explorer

GET /api/v1/document

Headers

  • X-PLANNR-ACCOUNT-UUID string

Query parameters

  • include string

    Comma separated list of relationships to include in the response. Valid relationships are [clients, file].

  • filter[uuid] string

    Filter by a comma separated list of UUIDs.

  • filter[name] string

    Filter by partial document title

  • filter[created_before] string

    date Filter documents created before a given date. Format: YYYY-MM-DD

  • filter[created_after] string

    date Filter documents created after a given date. Format: YYYY-MM-DD

  • filter[client_uuids] string

    Filter by a comma separated list of client UUIDs.

  • filter[circle_uuids] string

    Comma separated string of circle UUIDs to filter by.

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at]. Negative sign to denote DESC. Defaults to 'updated_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string
      • created_at string
      • updated_at string
      • version integer
      • name string
      • status string
      • last_publishing_error string
      • required_dependants object
        Hide required_dependants attribute Show required_dependants attribute object
        • client-1 string
      • known_dependants object
        Hide known_dependants attribute Show known_dependants attribute object
        • client-1 string
      • public_docx_url string
      • public_sfdt_url string
      • public_pdf_url string
      • public_preview_url string
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": "1a0c5411-1649-4548-a4fe-733595239989",
      "status": "published",
      "version": 3,
      "created_at": "2025-11-17T21:14:39+00:00",
      "updated_at": "2025-11-17T21:14:39+00:00",
      "public_pdf_url": "https://api.plannrcrm.com/document/6df66911-df82-418d-b928-fdad690b59c7/content/pdf?plannr_account_uuid=f2a156b9-5b40-4f63-9ff0-b37046d198fb",
      "public_docx_url": "https://api.plannrcrm.com/document/ab6805ed-402a-4c15-ad83-6a8f9904f697/content/docx?plannr_account_uuid=535c14b1-1d83-4648-8772-7d542f649d29",
      "public_sfdt_url": "https://api.plannrcrm.com/document/c3da8490-077b-49cb-822e-66d79baff075/content/sfdt?plannr_account_uuid=90d93805-1eee-4f59-b773-0fda16be27c2",
      "known_dependants": {
        "client-1": "f4174306-cdd4-4850-933f-09de597dbea0"
      },
      "public_preview_url": "https://api.plannrcrm.com/document/f6d7e532-6ad2-4268-9402-e1c1f9c8118f/content/preview?plannr_account_uuid=eb4fd002-1d4e-4e55-980d-18e18e71b9fa",
      "required_dependants": {
        "client-1": "client"
      },
      "last_publishing_error": "There was an error converting this file to PDF. Please try again later."
    }
  ]
}