API docs / API reference / Link building

Draft a new plan

POST /v1/link-campaigns/{campaign_id}/plan

For a new research round, optionally with instructions.

Path parameters

campaign_id required
string
—

Body

instructions
string
—

Send an Idempotency-Key header to make a retry safe: the same key within 24 hours returns the first answer and is never charged twice.

Request

curl -X POST "https://amarkos.com/api/v1/link-campaigns/{campaign_id}/plan" \
  -H "Authorization: Bearer $AMARKOS_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "instructions": "Focus on trade associations this time."
  }'

Response · 202

{
  "id": "pl_…",
  "version": 2,
  "status": "drafting"
}

← Get the research plan · Approve the plan →