Create Object Report Api
POST /reports
Save a report owned by this credential. Private by default; a shared one (visibility: "org") needs
objects:manage and current Admin access. Fields the credential cannot see are unknown to it.
Authorizations
Parameters
Header Parameters
Request Body required
object
What a report computes. timezone (an IANA name) fixes how dates are bucketed and what “end of day” means;
when absent the organization’s time zone applies (never the server’s).
object
One filter on a field of the source, or (with relationship_slug) on a field of the contact, company or deal
the source points at: the record passes when a linked record it may see matches. in is “is any of” and takes a
list of values.
One group-by. attribute: a field of the source (a date or timestamp field needs a grain);
related_attribute: a field of the ONE record a single-valued relationship points at; created_at: the
record’s creation time, bucketed by grain.
One measure. count counts each record once (COUNT DISTINCT record id); sum / avg / min / max
read a numeric field’s value; related_count counts the live records a relationship links each record to.
The calendar range a stage-over-time report snapshots, one column per grain period end (in the report’s
time zone).
object
The stage field and the ORDERED stages a funnel, stage-over-time or time-in-stage report walks.
object
Responses
201
Successful Response
object
object
object
A part of a report the viewer may not see. Hidden means ABSENT: it carries no title, no object name, no type and
no reason, only its position id (m0 the first measure, g0 the first group-by, f0 the first filter,
stage the stage field), so a client can lock that slot in place.
object
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error