List Sender Identities by Domain
Retrieve all sender identities for a specific domain.
Endpoint
GET https://api.campaignlark.com/v1/domains/:domain_id/sender-identities
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
domain_id | integer | required | The domain ID. |
Sample Request
GET https://api.campaignlark.com/v1/domains/1/sender-identities
Response
Success — 200 OK
{
"error": null,
"data": [
{
"id": 1,
"domain_id": 1,
"display_name": "My Store",
"local_part": "hello",
"domain_name": "example.com"
}
]
}
Errors
| Status | Message | Cause |
|---|---|---|
400 | Please provide a valid domain ID. | domain_id path param is missing or not a number. |