Preparing Contacts
Clean contact data is what makes campaigns predictable. This guide shows how to prepare contacts and load them into Truedy using either:- the Contacts API (recommended for reuse + analytics)
- the Batch Call contacts upload endpoint (good for quick drafts)
Who this is for
- Teams building outbound campaigns with folders/segments.
- Developers importing leads from CSV or CRM exports.
The one rule: use E.164 phone numbers
Every outbound call ultimately depends on a phone number in E.164 format. Examples:+14155550123+15551234567
415-555-0123(415) 555-0123- local formats without country code
Recommended workflow: Contacts API + folders
When you import contacts into a folder, you can reuse that curated set across campaigns. High-level flow:- Create a contact folder
- Import contacts into that folder (CSV or JSON)
- Create a batch campaign using that
contact_folder_id
1) Create a folder
2) Import contacts (JSON array)
csv_base64.
Alternative workflow: upload contacts directly to a draft campaign
If you want a one-off campaign draft, you can upload contacts to the batch call directly. Endpoint:Upload inline contacts to a draft campaign
Deduping and data quality
Best practices:- Deduplicate by
phone_numberin your own system before importing (prevents wasted calls). - Keep consistent first/last name fields if your prompt relies on personalization.
- If you rely on segmenting, use metadata/custom fields consistently (and document the keys you use).
Next steps
- Create a campaign: Creating Your First Campaign
- Build scheduling rules: Scheduling & Delivery Logic

