Contacts and groups
Contacts are the people you message. Groups are named lists of contacts, used as audiences for campaigns. Both belong to a project.
Plan: LUMA Elevate or Enterprise. Credits: free.
Contacts
Create a contact
POST /v1/project/{projectId}/contacts
curl --request POST 'https://api.itechintl.com/v1/project/PROJECT_ID/contacts?groupNames=VIP' \
--header 'Authorization: Bearer lm_live_YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"first_name": "Customer",
"last_name": "One",
"country_code": "971",
"national_number": "500000001",
"email": "customer1@example.com",
"city": "Dubai",
"country": "AE"
}'
| Field | Description |
|---|---|
first_name, last_name | Name |
country_code, national_number | Phone, split (for example 971 and 500000001). Or send mobile_number with the full number. |
email, address, city, state, zipcode, country | Optional details |
registration_date | Optional, when the contact joined you |
Query groupNames | Optional, comma-separated groups to add the contact to (created if missing) |
Import many contacts
POST /v1/project/{projectId}/contacts/bulk with a JSON array of contacts (same fields).
| Query parameter | Default | Description |
|---|---|---|
groupNames | Groups to add all imported contacts to | |
updateExisting | true | Update contacts that already exist (same phone) |
allowMerge | false | Merge details into existing contacts |
List and search contacts
GET /v1/project/{projectId}/contacts
| Query parameter | Default | Description |
|---|---|---|
pageNumber, pageSize | 1, 20 | Paging |
searchTerm | Exact name, email or phone (personal data is stored encrypted, so search is exact, not partial) | |
groupId | Only members of one group | |
isSubscribed | true or false | |
country | Country filter | |
createdFrom, createdTo | Creation date range (ISO 8601) | |
sortColumn, sortOrder | Id, DESC | Sorting |
Answer:
{
"message": "Success",
"data": {
"items": [
{ "id": 101, "project_id": 12, "first_name": "Customer", "last_name": "One", "country_code": "971",
"national_number": "500000001", "mobile_number": "971500000001", "email": "customer1@example.com",
"country": "AE", "city": "Dubai", "source": "api", "is_subscribed": true, "created_at": "2026-11-20T09:00:00Z",
"custom_fields": {} }
],
"total_count": 1, "page_number": 1, "page_size": 20
}
}
Update a contact
PUT /v1/project/{projectId}/contacts/{contactId} with the fields to change.
Delete contacts
DELETE /v1/project/{projectId}/contacts with { "contact_ids": [ 101, 102 ] }.
Groups
| Call | What it does |
|---|---|
POST /v1/project/{projectId}/groups with { "group_name": "VIP" } | Create a group |
GET /v1/project/{projectId}/groups?pageNumber=1&pageSize=20&searchTerm= | List groups |
PUT /v1/project/{projectId}/groups/{groupId} | Rename a group |
DELETE /v1/project/{projectId}/groups/{groupId} | Delete a group (contacts stay) |
POST /v1/project/{projectId}/groups/{groupId}/members with { "contact_ids": [ 101, 102 ] } | Add members |
DELETE /v1/project/{projectId}/groups/{groupId}/members with { "contact_ids": [ 101 ] } | Remove members |
GET /v1/project/{projectId}/groups/{groupId}/members | List members |
The groups list answers data.items[] with id, group_name, member_count and created_at, plus
total_count, page_number and page_size.
Privacy
Contact names, emails and phone numbers are stored encrypted. Only import people who agreed to be contacted, and delete contacts you no longer need.