---
title: "Scan CRM entries with a resumable cursor. Empty filtered pages can have more results"
method: POST
path: "/crm/query/page"
tags: ["crm"]
---

# Scan CRM entries with a resumable cursor. Empty filtered pages can have more results

`POST /crm/query/page`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/query/page`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Scan CRM entries with a resumable cursor. Empty filtered pages can have more results.

## Request body

- object
  - `objectName` string, required
  - `dsl` object
  - `dslJson` string
  - `assignedTo` string: Personal scope: "me" (the signed-in member / the human behind an agent session), "unassigned", or a member userId or email. Adds one has_any / is_empty rule on the object's assignee user field; rows, totalCount, sums and analytics all follow it. Never saved onto the view.
  - `assigneeField` string: Which `user` field "assigned" means. Default: the analytics owner role, else the task `Assignee`, else a user field named like owner/assignee, else the first user field.
  - `withReferences` boolean: Include bounded navigation references. Array reads return {data, references, referenceCoverage}; existing result envelopes keep their fields.
  - `paginationOpts` object, required
    - `numItems` integer, required
    - `cursor` string, nullable, required

## Response `200`

Successful response

- unknown

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
