How it works without Apex
Use Apex's POST /api/v1/contacts/import endpoint (CSV or JSON, up to 5,000 rows per request) instead of replaying user_identified server events. Imported rows preserve each person's original signed_up_at date, reconcile idempotently on userId, and join matching segments without starting welcome journeys. Pair that with POST /api/v1/suppressions/import so unsubscribed, bounced, and spam-reported addresses stay blocked from your very first send.
How Apex does it for you
Apex deduplicates re-imports by userId, fills missing signup dates without overwriting live ones, keeps journey triggers silent during bulk import, and enforces imported organization-wide suppressions before any message leaves.
How to set this up in 5 steps
Import your do-not-email list first
POST your legacy unsubscribe, bounce, and spam-report CSV or JSON (up to 5,000 rows per call) to
/api/v1/suppressions/importso dead or opted-out addresses are blocked organization-wide before any send.Export existing users with stable userId and signed_up_at
Pull userId, email, name, signed_up_at (ISO date or Unix timestamp), plan, and optional avatar_url from Cognito ListUsers, Auth0 Management API, Firebase Admin, Supabase Admin, or your database.
POST batches of up to 5,000 rows to
/api/v1/contacts/importUpload as text/csv or JSON rows. Each call is idempotent on userId and returns exact imported, reconciled, skipped, and errors counts.
Verify zero welcome journeys fired automatically
Confirm imported contacts populate your segments without triggering welcome flows. If you deliberately want a live journey to enroll imported people, opt them in explicitly from the journey page.
Leave passive login reconciliation running
Keep your post-login trigger (Auth0 Action, Cognito PostAuthentication, or Supabase/Firebase listener) active so future logins keep profiles current with zero second migration.
Passive vs. active backfill
Every team moving onto Apex asks the same first question: how do we bring in the customers we already have without accidentally sending a "Welcome to our app!" email to people who signed up two years ago?
As documented in Backfill existing users, Apex gives you two clean paths depending on whether you need dormant accounts on day one:
- Passive backfill (zero migration scripts): Wire your post-login trigger (Cognito
PostAuthentication, Auth0 Post-Login Action, or Supabase/Firebase auth listener). Every active customer reconciles automatically with their verifiedinternal_user_idthe next time they log in. - Active backfill (full or dormant base): Upload your existing directory through
/api/v1/contacts/importin batches of up to 5,000 rows, then leave the passive trigger running so new logins stay synchronized forever.

Import suppressions before contacts
Before you publish a single journey or campaign, bring over your unsubscribe, bounce, and spam-report lists from your old email tool using POST /api/v1/suppressions/import (up to 5,000 rows per request):
curl -X POST https://app.apex.inc/api/v1/suppressions/import \
-H "x-api-key: apex_sk_..." \
-H "content-type: text/csv" \
--data-binary @unsubscribes.csvApex enforces two strict levels across your entire organization:
| Reason column | Marketing email | Receipts & password resets | Re-import rule |
|---|---|---|---|
unsubscribed (or blank) | Blocked | Still sends | Safe to re-import |
bounce or spam_report | Blocked | Blocked | Never softened back to unsubscribed |
Import contacts with real signup dates
Next, upload your customer directory to POST /api/v1/contacts/import (never replay user_identified through /api/v1/events, which timestamps rows as today and triggers live journeys):
curl -X POST https://app.apex.inc/api/v1/contacts/import \
-H "x-api-key: apex_sk_..." \
-H "content-type: text/csv" \
--data-binary @users.csvuserId,email,name,signed_up_at,plan,avatar_url
u_1001,jane@example.com,Jane Doe,2024-03-02,pro,https://cdn.example.com/avatars/jane.png
u_1002,sam@example.com,Sam Lee,2025-11-18,free,
Key guarantees built into the import endpoint:
- Zero accidental welcome blasts: Imported people populate your segments immediately, but joining via import starts zero journeys. If you want a live journey to enroll newly imported members, the journey page shows the exact count and lets you start them deliberately.
- True cohort age preserved: Supplying
signed_up_at(also accepted assignup_date,created_at, orjoined_at) lets days-since-signup segment rules work accurately from minute one. Re-imports fill in missing signup dates without ever overwriting a live signup Apex already observed. - Idempotent retries: Re-posting the same
userIdupdates the existing Contact and returns{ imported, reconciled, skipped, errors }rather than creating duplicate rows.
What this costs on Apex
Live Apex pricing · Pay-as-you-go
Estimated Apex cost for Mid-market SaaS importing 25,000 existing users and 3,200 suppressions, then running win-back journeys
$0 / month
Covered by monthly free allowances.
| Apex meter / schedule | Scenario volume | Free allowance / basis | Rate | Apex cost |
|---|---|---|---|---|
Events Ongoing web and login reconciliation events post-migration (25,000 monthly events after one-time backfill completes) | 25,000 / mo | 1M / month | $5 per 100K events | $0 |
Messages Targeted lifecycle and win-back sends to opted-in cohorts (6,000 monthly sends with imported suppressions enforced automatically) | 6,000 / mo | 10K / month | $60.00 per 100K messages | $0 |
Orchestrations Journey holdout and branch assignments (6,000 monthly journey assignments) | 6,000 / mo | 1M / month | $5 per 100K assignments | $0 |
Historical CSV contact imports and suppression imports run directly through Apex's REST API with zero migration fee. History: 13 months no card, 3 years with card, 7 years once you've paid an invoice. Live pricing.
One-time contact and suppression imports carry no migration fee, so you only pay standard metered usage once your live traffic and opted-in lifecycle messages run.
