Preview template variable substitution without personalization.
This endpoint renders a template with actual lead data but WITHOUT AI personalization. Useful for previewing what substitutions will look like before launching a campaign.
Args: campaign_id: Campaign ID step_index: Step index to preview variant_label: Variant label to preview lead_row_index: Row index of lead in dataset to use for preview current_user: Authenticated user campaign_service: Campaign service instance
Returns: Preview of subject and body with variables substituted
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.
Step index to preview
x >= 0Variant label to preview
Lead row index in dataset
x >= 0Successful Response