Docs
Warmup

Bulk start warmup

Enable warmup on multiple accounts

Partial-succeed: accounts failing the DNS hard gate or exceeding the plan cap are reported in failed while the rest still start. The response reflects the write, not the worker - accountState catches up once warmup-worker drains the queued events.

POST
/v2/workspaces/{workspaceId}/accounts/bulk/warmup/enable

Path Parameters

workspaceIdnumber
idsarray<number>

Account IDs to act on. Max 200 per request.

Response Body

curl -X POST "https://lynx-api.trulyinbox.com/v2/workspaces/0/accounts/bulk/warmup/enable" \  -H "Content-Type: application/json" \  -d '{    "ids": [      1,      2,      3    ]  }'
{
  "data": {
    "succeeded": [
      0
    ],
    "failed": [
      {
        "id": 0,
        "error": "string"
      }
    ]
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}