Generate personalized email content for a campaign lead.
This endpoint is called by the Worker Lambda (via internal API key) or directly by authenticated users (via JWT).
Documentation Index
Fetch the complete documentation index at: https://docs.bavlio.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to personalize email content for a campaign lead.
The campaign lead ID
The outbound job ID
The step index in the campaign
x >= 0The variant label for A/B testing
The sender profile ID to use
Successful Response
Response containing personalized email content.
The outbound job ID
The campaign lead ID
Personalized email subject
Personalized email body (HTML)
Sender email from profile
Recipient email address
Credits consumed for personalization