Retrieve list members
Retrieving Contacts
Data access is performed via a GET request. The list identifier (id), obtained during creation or by listing lists (GET {subdomain}.api.numberly.com/v1/lists), is required in the URL path.
Endpoint
GET {subdomain}.api.numberly.com/v1/lists/{id}/contacts
Query Parameters
The call can be refined to manage pagination or filter results:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
limit | Integer | No | Maximum number of items to return (Min: 5, Max: 200, Default: 20). | 50 |
page | Integer | No | Page number to retrieve (Default: 1). | 2 |
search | String | No | Search term to filter members (e.g., name, email). | "John" |
Implementation Example
cURL Request (with search)
This example retrieves the first 10 members matching the search "pierre" in the specified list.
curl -X GET "https://{subdomain}.api.numberly.com/v1/lists/c2feab59-d124-4b69-9d81-579a76603c7b/contacts?limit=10&page=1&search=pierre" \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
-H "Content-Type: application/json"
Response (200 OK)
The returned object contains dynamic contact data (keys correspond to the column names defined in the list) as well as an internal technical identifier (PRIMARY_KEY_SHA256).
{
"objects": [
{
"PHONE": "field1",
"EMAIL": "test8@numberly.com",
"MOBILE": "+33677777777",
"AGE": 52,
"SECTEUR": "Agroalimentairehh",
"ISO2": "FR",
"FLOAT": 72.40599822998047,
"MOBILE_STANDARDIZED": "33677777777",
"EMAIL_STANDARDIZED": "test8@numberly.com",
"PRIMARY_KEY_SHA256": "0c03431c689f5a2d8764d9543ea0ec054d0c6070f82a6dd48a95b898"
},
{
"PHONE": "field1",
"EMAIL": "test6@numberly.com",
"MOBILE": "+33677777777",
"AGE": 52,
"SECTEUR": "Agroalimentairehh",
"ISO2": "FR",
"FLOAT": 72.40599822998047,
"MOBILE_STANDARDIZED": "33677777777",
"EMAIL_STANDARDIZED": "test8@numberly.com",
"PRIMARY_KEY_SHA256": "0c03431c689f5a26dd48a95bb8e7cd8d898"
}
],
"metadata": {
"timestamp": 1744375392.0
},
"pagination": {
"total": 45,
"limit": 10,
"page": 1
}
}
Use Cases
- Post-import verification: Confirm that the insertion operation (
upsert/insert) correctly added the specific fields. - Search engine: Use the
searchparameter to find a specific subscriber and obtain the value of its primary key or verify their data before a single update. - Lightweight export: Retrieve data in batches by iterating over the
pageparameter.
Populate a list
Once a list is created and published, its content is managed via operations. This asynchronous mechanism allows you to add, update, or delete contacts in bulk or individually via the API.
Send a message
This technical guide details the integration process for the automated sending of transactional messages (Email, SMS and Vocal) via the Numberly Martech Platform (NMP) API.