crm

Query entries

Query CRM entries.

post/crm/query

Request

  • Base URL
    https://www.dench.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer

Request body

withReferencesboolean

Include bounded navigation references. Array reads return {data, references, referenceCoverage}; existing result envelopes keep their fields.

objectNamestring required
dslJsonstring

JSON string of the DSL when filters use operators like $gt/$in/$contains/$and/$or. Date fields and the system timestamps created_at/updated_at also accept $datePreset ("today", "yesterday", "this_week", "last_week", "this_month", "last_month", "this_quarter", "last_quarter", "this_year", "last_year"), and $inLast/$inNext rolling windows (a day count like 7, or {"amount":2,"unit":"weeks"} with unit days|weeks|months|quarters|years). On a date field, $gt/$gte/$lt/$lte take a day ("2026-11-03"), an ISO date-time with its offset or epoch ms; a top-level "timeZone" (IANA) says which zone a day bound means. A filter naming a field the object does not have is an error. Example: {"filter":{"updated_at":{"$datePreset":"this_month"}}}.

assignedTostring

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.

assigneeFieldstring

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.

Response

Successful response

object[] required
OR

Changes

No recorded changes to this operation across all 1 revision of this API.