Generate an offer
Beta. This endpoint is in beta. Behavior, parameters, and response shapes may change without notice.
ai-sdr:write scope (or a broader one that includes it).
Use this endpoint when you want the AI SDR to draft an offer for you instead of filling in the company context by hand. Provide prompt — a company URL or a free-text brief of up to 2000 characters — and optionally attachmentIds, up to 10 ids returned by the generation attachment upload, and providerLLM to choose which model writes it; claude is used when providerLLM is omitted. Generation runs in the background: the response carries a jobId you poll with GET /v3/background-jobs/, and when the job finishes its jsonDataResult holds the generated offer together with the offerId it was saved under, so no separate create call is needed. The AI SDR feature must be enabled for your team.
Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Get your API key from the Reply dashboard: Settings → API Key.
Body
Prompt or company URL to seed the generation
2000Ids of attachments previously uploaded via POST /v3/ai-sdr/offers/generation-attachments (max 10)
LLM provider to generate with. Defaults to claude when omitted.
claude, openAi, gemini, mistral Response
Generation accepted; poll the returned job for progress and the generated offer
Background job id; poll GET /v3/background-jobs/{jobId}.