curl -X POST https://api.example.com/v1/contacts/lists \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"list_name": "November Leads",
"organization_id": "{org_id}",
"user_id": "{user_id}",
"contacts": [
{"phone_number": "+15551234567", "first_name": "John", "last_name": "Doe"}
]
}'
{
"success": true,
"list_id": "1763072372500x777103986713560785",
"list_name": "November Leads",
"contacts_imported": 1,
"powered_by": "Teli"
}
Create a new contact list
curl -X POST https://api.example.com/v1/contacts/lists \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"list_name": "November Leads",
"organization_id": "{org_id}",
"user_id": "{user_id}",
"contacts": [
{"phone_number": "+15551234567", "first_name": "John", "last_name": "Doe"}
]
}'
{
"success": true,
"list_id": "1763072372500x777103986713560785",
"list_name": "November Leads",
"contacts_imported": 1,
"powered_by": "Teli"
}
phone_number (required), first_name, last_name, emailcurl -X POST https://api.example.com/v1/contacts/lists \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"list_name": "November Leads",
"organization_id": "{org_id}",
"user_id": "{user_id}",
"contacts": [
{"phone_number": "+15551234567", "first_name": "John", "last_name": "Doe"}
]
}'
{
"success": true,
"list_id": "1763072372500x777103986713560785",
"list_name": "November Leads",
"contacts_imported": 1,
"powered_by": "Teli"
}