Customer Profile Sync API
Use the Contacts API to create and update customer profiles whenever customer data changes in your website, CRM, payment platform, app, database, or internal workflow.
✦
Try this with AI Copilot
Show me how to sync customer profiles with the SMSLeopard Contacts API
Ask AI →
What To Sync
Start with the fields your team needs for segmentation, personalization, and customer understanding.
| Source event | Profile fields to update |
|---|---|
| Website signup | Name, phone number, email, source, plan, signup date |
| Payment received | Last payment date, amount, product, account status |
| Purchase completed | Last purchase, purchase amount, category, branch |
| Support conversation | Recent issue, support status, sentiment, preferred channel |
| Survey response | NPS score, satisfaction rating, missing data, stated preference |
Endpoint
POSThttps://api.smsleopard.com/v1/contacts/create
Example Request
curl -X POST "https://api.smsleopard.com/v1/contacts/create" \
-u "$API_KEY:$API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"name": "Willis Salama",
"phone_number": "254700000001",
"email": "willis@example.com",
"group_ids": [12],
"custom_metadata": {
"fields": [
{ "name": "customer_since", "value": "2023-01-15" },
{ "name": "last_purchase", "value": "Premium bundle" },
{ "name": "last_purchase_amount", "value": "KES 8400" },
{ "name": "preferred_channel", "value": "WhatsApp" },
{ "name": "location", "value": "Nairobi" }
]
}
}'Use the field names that match your business language. The strongest customer profiles are simple, consistent, and updated from the system where the data is generated.