Contact administration and privacy review
These routes are for the signed-in CRM workspace. They do not accept a Store shopper session or replace scoped client API keys.
Import and export safely
Create-and-skip import preserves existing people. Reviewed fill mode fills only blank name, company, designation, website, city and country fields. It preserves identity, existing values, customer status, owner, origin and communication restrictions. Lifecycle changes use separate administrator actions.
Preview and confirmation require current import, Contact access and editing permission. A changed file, record, field policy or membership requires a fresh preview. Create import validates required and typed CRM custom values in the same transaction as its Contact and CRM record. Download row outcomes to resume rejected or capacity-skipped records without resubmitting successful ones.
CSV export uses the current accessible filter set. Exports stop if authority or selected counts change during pagination. Masked or hidden customer-number roles cannot export files. Financial and channel sections keep their source permissions.
Tags, audiences and communication preferences
Contact tags label directory people. CRM tags label linked prospects in their own namespace; adding one does not silently copy the other or enroll a person in a campaign. Segment membership combines permitted manual and matching records once per person. Membership is an audience candidate, not proof of consent or delivery eligibility.
Block and Do not disturb stop automatic Contact replies and campaign or sequence dispatch. Scheduled sends recheck current recipient and sender authority. Marketing consent and provider opt-outs remain channel-specific. A CRM tag, import or merge cannot clear these restrictions. Store sign-in and transactional order notifications use their separate verified shopper and merchant notification settings; changing a Contact preference does not establish shopper ownership or cancel billing.
Privacy requests are reviewed by source
An active administrator with workspace-wide record access records how the subject request was verified. An email-only request does not prove ownership of another Contact or a verified shopper account.
- Open the current review inventory. It follows explicit Contact and CRM links and returns source counts without private source content.
- Record subject-verification evidence and each source outcome: retained with a policy/evidence reference, removed in its own source, not linked, or pending.
- Save partial work as in progress. If linked records change, refresh the inventory and resume the saved review.
- Record completion only when every source has a reviewed outcome. Reuse the same operation ID for an unchanged retry.
Financial, refund, consent, assignment, merge and audit receipts remain under their source retention rules. Store privacy requests use their separate verified identity flow. This review API does not delete those records or revoke a shopper session.
Retention durations record policy; automatic linked-data purging is unavailable. The API rejects attempts to enable it. A completed source-review receipt is evidence of the administrator’s review, not a claim that the system erased every record or provided legal certification.
Endpoint reference
Base origin: https://api.crm.emacronai.com. Use the current workspace session in the Authorization header. Access is rechecked on each request.
| Method | Path | Behavior |
|---|---|---|
| GET | /api/contacts?with_totals=1 | Current filtered rows, filtered total and accessible directory total. |
| GET | /api/contacts/export | Current accessible filters, safe CSV and current field policy. Full customer-number access is required. |
| POST | /api/lead-import/csv?operation=preview-fill | Preview blank descriptive fields in existing Contacts. Send text/csv and an explicit column mapping. |
| POST | /api/lead-import/csv?operation=confirm-fill | Confirm the same file and mapping with the X-Contact-Import-Review header from its preview. |
| GET | /api/compliance/erasure-requests/{id}/review | Inventory explicitly linked source records and retrieve an expiring review token. |
| POST | /api/compliance/erasure-requests/{id}/review | Save verified-subject evidence and partial source outcomes for recovery. |
| POST | /api/compliance/erasure-requests/{id}/complete | Record a fully documented source review. This endpoint does not execute a purge. |