Leads

Generate Lead Content

Write a personalised outreach email for one lead (runs a model; billable). Sends nothing.

post/leads/{lead_id}/generate-content

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/leads/{lead_id}/generate-content
  • Auth: HTTP bearer

Path parameters

lead_idinteger required

Lead id.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

instructionsstring nullable

Custom instructions. Omit to derive them from the lead.

agent_namestring

The writing agent to use.

studio_campaign_idstring nullable

A campaign to draw extra context from.

contact_idinteger nullable

Write for this contact instead; the lead id in the path is then ignored.

Response

Successful Response

dataLeadContentPayload required

Generated content, a batch's progress, or a removal count.

Changes

No recorded changes to this operation across all 2 revisions of this API.