Senders
Retrieving Senders
The GET {subdomain}.api.numberly.com/v1/settings/groups/{id}/senders endpoint allows you to list senders configured for a specific group, filtered by channel.
Technical Definition
- HTTP Method:
GET - Endpoint:
{subdomain}.api.numberly.com/v1/settings/groups/{id}/senders - Security: Bearer Token (OAuth2)
Parameters
| Location | Name | Required | Type | Description |
|---|---|---|---|---|
| Path | id | Yes | string | The group identifier (retrievable via /v1/settings/groups). |
| Query | channel | Yes | string | The channel for which to retrieve senders (email or sms). |
| Query | limit | No | integer | Pagination: number of items per page (default: 20). |
| Query | page | No | integer | Pagination: page number (default: 1). |
Request Example
This example retrieves all Email senders for the specified group.
curl -X GET "https://{subdomain}.api.numberly.com/v1/settings/groups/65df06372b43d70716133716/senders?channel=email" \
-H "Authorization: Bearer <VOTRE_TOKEN>" \
-H "Content-Type: application/json"
Response Structure
The API returns a list of objects (polymorphic depending on the channel, EmailSender or SmsSender). Here are the key properties to utilize:
id: The technical identifier of the sender. This value will be used during campaign creation.sender: The visible value (the email address or the SMS sender name).campaign_type: Indicates the campaign type authorized for this sender (e.g.,schedulablefor marketing,transactionalfor transactional).population: Information about the population targeted by this sender (useful for segmentation).id: Population identifier.name: Population name (e.g., "ACTIFS").
JSON Response Example (Email):
{
"objects": [
{
"id": 945,
"channel": "email",
"sender": "newsletter@news.mon-domaine.com",
"group_id": "65df06372b43d70716133716",
"campaign_type": "schedulable",
"population": {
"id": 42,
"name": "Clients Newsletter"
}
}
],
"metadata": {
"timestamp": 1744375392.0
},
"pagination": {
"total": 1,
"limit": 20,
"page": 1
}
}
Create a service account
Learn how to create an API Service Account to authenticate and use our APIs.
Group informations
In the Numberly Martech Platform (NMP) architecture, the Group acts as a logical container used to silo resources (campaigns, lists, content). For a developer, the group identifier (id) is a fundamental piece of data required to scope most CRUD operations. This technical guide details how to retrieve the list of accessible groups via the /v1/settings/groups endpoint and how to leverage the retrieved identifier within your integration workflows.