v1

latestOpenAPI 3.0.02026-07-13162235.0 KB
AI Personalization

Generate AI hooks for many leads (async batch)

Creates an async job that generates a hook for each lead. The create call never charges (X-No-Charge); the worker bills 3 credits per successful lead. The estimatedCost is an affordability pre-check — insufficient balance for the whole batch returns 402. Poll pollUrl for per-lead results.

post/v1/ai/hook/batch

Request body

Response

Batch job created

successboolean

Example response

{
  "data": {
    "status": "pending",
    "pollUrl": "/v1/jobs/4b2e1f9a-2c3d-4e5f-8a9b-0c1d2e3f4a5b",
    "estimatedCost": {
      "credits": 1,
      "pence": 1
    }
  }
}