curl -X GET "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/accounts" \
-H "X-API-Key: otr_your_key"
import requests
response = requests.get(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
headers={"X-API-Key": "otr_your_key"},
)
accounts = response.json()
const response = await fetch(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
{
headers: { "X-API-Key": "otr_your_key" },
}
);
const accounts = await response.json();
{
"data": [
{
"id": "acc_001",
"email": "[email protected]",
"displayName": "Sales Team",
"provider": "gmail",
"isActive": true,
"dailyLimit": 50,
"sentToday": 12,
"healthScore": 92
}
]
}
Campaign Accounts
List Campaign Accounts
Retrieve the email accounts assigned to a campaign for inbox rotation.
GET
/
api
/
v1
/
campaigns
/
{campaign_id}
/
accounts
curl -X GET "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/accounts" \
-H "X-API-Key: otr_your_key"
import requests
response = requests.get(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
headers={"X-API-Key": "otr_your_key"},
)
accounts = response.json()
const response = await fetch(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
{
headers: { "X-API-Key": "otr_your_key" },
}
);
const accounts = await response.json();
{
"data": [
{
"id": "acc_001",
"email": "[email protected]",
"displayName": "Sales Team",
"provider": "gmail",
"isActive": true,
"dailyLimit": 50,
"sentToday": 12,
"healthScore": 92
}
]
}
Path Parameters
string
required
The unique identifier of the campaign.
Response
array
Array of email account objects assigned to the campaign.
curl -X GET "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/accounts" \
-H "X-API-Key: otr_your_key"
import requests
response = requests.get(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
headers={"X-API-Key": "otr_your_key"},
)
accounts = response.json()
const response = await fetch(
"https://api.foxreach.io/api/v1/campaigns/cmp_xyz789/accounts",
{
headers: { "X-API-Key": "otr_your_key" },
}
);
const accounts = await response.json();
{
"data": [
{
"id": "acc_001",
"email": "[email protected]",
"displayName": "Sales Team",
"provider": "gmail",
"isActive": true,
"dailyLimit": 50,
"sentToday": 12,
"healthScore": 92
}
]
}
Errors
| Status | Description |
|---|---|
404 | Campaign not found |
Rate Limit
- 100 requests per minute, per API key. Fixed 60-second window.
- Every response includes
X-RateLimit-Limit,X-RateLimit-Remaining, andX-RateLimit-Reset(unix epoch seconds). - A
429response includes aRetry-Afterheader (seconds until the bucket resets).
Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.