Skip to main content
POST
/
api
/
v1
/
campaigns
/
{campaign_id}
/
accounts
curl -X POST "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/accounts" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "accountIds": ["acc_001", "acc_002"]
  }'
{
  "data": {
    "added": 2
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.foxreach.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

campaign_id
string
required
The unique identifier of the campaign.

Body Parameters

accountIds
array
required
Array of email account IDs to assign to the campaign.

Response

data
object
curl -X POST "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/accounts" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "accountIds": ["acc_001", "acc_002"]
  }'
{
  "data": {
    "added": 2
  }
}

Errors

StatusDescription
404Campaign not found

Rate Limit

  • 100 requests per minute, per API key. Fixed 60-second window.
  • Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset (unix epoch seconds).
  • A 429 response includes a Retry-After header (seconds until the bucket resets).
For client-side patterns (Retry-After, exponential backoff, monitoring X-RateLimit-Remaining), see Rate Limiting.