Skip to main content
Reporting covers the three ways data comes back out: running a report, recording and querying analytics events, and downloading a bulk export. It exists because reading at scale has different constraints from reading one record — some answers are aggregates, and some datasets are too large to page through.

Reports

Reports come in two kinds, and they behave differently. Built-in reports are read-only and addressed by a string key such as totalContacts; custom reports are ones you create, addressed by an ID, with the full create, update and delete cycle. Either kind returns its configuration separately from its rows, so you can see what a report contains before paying the cost of running it. They exist to answer questions across your data without querying it directly. See Reporting in the Help Center.

Analytics

Analytics is two endpoints meant to be called from the browser: identify creates or updates a contact from a set of traits, and track records events against that contact — page views, clicks, form completions. They exist so client-side activity can be attributed to a person, and they are the only endpoints a Client-safe key can reach, so a public page can send them without exposing full API access. See ConveYour Analytics with JavaScript in the Help Center. Identify can link a contact to custom object records without you looking up record IDs first. For a related custom object trait, send the record’s _id, its external_id, or its display text (exact match, any case):
For a multiple field (up to 50 links), send a list to replace the links, or add and remove to change them:
Use the field’s plain key, such as role. Never send role_id or role_ids: they don’t match the field, so identify creates a new field (such as role id) holding the value you sent, and role itself isn’t updated.
A display name that contains a comma gets split into separate values when you send a string. Use | as the separator, send a JSON list, or use the record’s _id or external_id.
  • A multiple field also accepts one string: it splits on | if present, otherwise on commas, and replaces the links. add and remove accept such strings too.
  • On a multiple field an empty string leaves it unchanged. On a single field an empty string or null clears it.
  • If a value matches no record, or more than one, only that field is skipped. The contact’s other traits still save.
  • Identify is queued and always returns queued, even if the save fails later. A successful response doesn’t confirm the traits were saved.
  • Trait keys can be a field’s name or its label. Label matching is exact and case-sensitive after underscores become spaces; only the name, first name and last name variants are case-insensitive. A key that matches no field creates a new field.
  • Related contacts fields take contact IDs only. A single name string fails the whole update, so none of that call’s traits save. A list of names is reduced to valid IDs, and a list with none clears the field. contact_role takes an ObjectId only.

Exports

An export is a file ConveYour generates in the background for a dataset too large to page through an API. These endpoints do not create exports — you start one in the app, then use the API to poll its status and download it once ready. They exist so bulk data can leave ConveYour without holding a request open while the file is built.