Contacts API
Create and update customer profiles from your application, CRM, payment system, spreadsheet, website, or backend service.
The Contacts API keeps customer data up-to-date, segmented, and ready for personalization across SMS, WhatsApp, surveys, broadcasts, and automated messaging.
What You Can Sync
| Data source | Example customer fields | How messaging improves |
|---|---|---|
| Website signups | Name, phone, email, acquisition source, plan | Welcome messages and onboarding follow-up start with context |
| Payment systems | Last payment date, amount, balance, product, status | Reminders and receipts use accurate customer information |
| CRM or ERP systems | Branch, account owner, lifecycle stage, product ownership | Teams can target customers by actual business relationship |
| Google Sheets | Lists, segments, operational updates, campaign fields | Teams can start from spreadsheets while moving toward live sync |
| Support tools | Recent issue, sentiment, unresolved ticket, preferred channel | Follow-up messages avoid sounding generic or disconnected |
Why This Matters
Most messaging problems start before the message is written. Lists get stale, spreadsheets drift from reality, and teams lose the customer context that should drive segmentation and personalization.
Use the Contacts API to keep SMSLeopard aligned with the systems where customer data is created. Then use that profile data to send more relevant WhatsApp messages, SMS campaigns, survey invitations, and API-triggered notifications.
Common Profile Attributes
| Category | Example attributes |
|---|---|
| Identity | Name, phone number, email, customer ID |
| Demographics | Age band, gender, location, branch, language |
| Commercial activity | Last purchase, purchase amount, total value, product ownership |
| Lifecycle | New signup, active customer, dormant customer, renewal due, churn risk |
| Engagement | Preferred channel, last campaign clicked, survey score, support status |
Focused Implementation Guides
| Goal | Read this |
|---|---|
| Keep customer records current from your own systems | Customer Profile Sync |
| Use spreadsheets as a practical data source | Google Sheets Sync |
| Turn profile data into audiences | Segmentation |
Base URL
https://api.smsleopard.com/v1Authentication
All requests use HTTP Basic Auth with your API credentials.
Authorization: Basic <base64(api_key:api_secret)>Don't have API keys yet? Generate them here.
Quick Start
curl -X GET "https://api.smsleopard.com/v1/groups/fetch" \
-u "your_api_key:your_api_secret"Available Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/groups/fetch | Retrieve all groups on your account |
POST | /v1/contacts/create | Create a new contact |
DELETE | /v1/contacts/:id | Delete a contact by ID |