Skip to main content
POST
/
api
/
v1
/
campaigns
/
{campaign_id}
/
template-preview
Preview Template Substitution
curl --request POST \
  --url https://api.example.com/api/v1/campaigns/{campaign_id}/template-preview \
  --header 'Authorization: Bearer <token>'
{}

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
string<uuid>
required

Query Parameters

step_index
integer
required

Step index to preview

Required range: x >= 0
variant_label
string
required

Variant label to preview

lead_row_index
integer
required

Lead row index in dataset

Required range: x >= 0

Response

Successful Response

{key}
string