Skip to main content
PATCH
/
api
/
v1
/
campaigns
/
{campaign_id}
/
sequences
/
{sequence_id}
curl -X PATCH "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/sequences/seq_002" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "delayDays": 5,
    "subject": "Following up, {{firstName}}"
  }'
{
  "data": {
    "id": "seq_002",
    "campaignId": "cmp_abc123",
    "stepNumber": 2,
    "name": "Follow-up",
    "subject": "Following up, {{firstName}}",
    "body": "Hi {{firstName}},\n\nJust wanted to follow up...",
    "delayDays": 5,
    "delayHours": 0,
    "sendOnlyIfNoReply": true,
    "createdAt": "2025-01-10T08:05:00",
    "updatedAt": "2025-01-12T14:30:00"
  }
}

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.
sequence_id
string
required
The unique identifier of the sequence step.

Body Parameters

All fields are optional. Only include fields you want to update.
subject
string
Email subject line. Supports template variables and spin syntax.
body
string
Email body content. Supports template variables and spin syntax.
name
string
Step name.
delayDays
integer
Days to wait after the previous step.
delayHours
integer
Additional hours to wait.
sendOnlyIfNoReply
boolean
Skip this step if lead has already replied.

Response

Returns the updated sequence step object.
curl -X PATCH "https://api.foxreach.io/api/v1/campaigns/cmp_abc123/sequences/seq_002" \
  -H "X-API-Key: otr_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "delayDays": 5,
    "subject": "Following up, {{firstName}}"
  }'
{
  "data": {
    "id": "seq_002",
    "campaignId": "cmp_abc123",
    "stepNumber": 2,
    "name": "Follow-up",
    "subject": "Following up, {{firstName}}",
    "body": "Hi {{firstName}},\n\nJust wanted to follow up...",
    "delayDays": 5,
    "delayHours": 0,
    "sendOnlyIfNoReply": true,
    "createdAt": "2025-01-10T08:05:00",
    "updatedAt": "2025-01-12T14:30:00"
  }
}

Errors

StatusDescription
400Campaign is active — pause it first
400Invalid spin syntax in subject or body
404Sequence step not found
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.