GET /api/v1/settings/identities
Every sender address this organization may use, the default first — it is the one that signs
campaigns, sequences and opt-in confirmations. The others are registered and ready; they send
nothing until promoted.
Authorization
| Role in the organization | This endpoint |
|---|---|
OWNER | Allowed |
ADMIN | Allowed |
MEMBER | Allowed |
Example
bash
curl -H "x-api-key: $AGENTMAIL_API_KEY" \
"https://www.agentsmail.io/api/v1/settings/identities"Response
200 OK— the call succeeded.401 Unauthorized— missing or invalid key, or its owner left the organization.429 Too Many Requests— over 120 requests in a minute for this key.
Response fields
data is an array of:
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the operation was successful |
data[].id | string | Identifier to pass as sendingIdentityId on a campaign |
data[].senderEmail | string | The address itself |
data[].senderName | string \ | null |
data[].isDefault | boolean | Exactly one address carries true |
data[].createdAt | string | ISO date the address was added |
pagination | object | {total, page, limit, totalPages} |
Example response
json
{
"success": true,
"data": [
{"id": "8f1c…", "senderEmail": "hello@mail.example.com", "senderName": "Example", "isDefault": true, "createdAt": "2026-05-02T09:12:44.000Z"},
{"id": "2ad9…", "senderEmail": "news@mail.example.com", "senderName": "Example News", "isDefault": false, "createdAt": "2026-06-18T14:03:11.000Z"}
]
}