Sequences
Preview an AI-written step
Writes one message or email from the brief for a real lead in the campaign, the same way Bavlio writes it when the lead reaches the step, and returns it without saving or sending anything. Send after_lead_id to write the next preview for the lead after that one. Previews are free and limited per workspace; past the limit the answer is 429 with the seconds to wait.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Campaign id.
Body
application/jsonAvailable options: message
The step's brief: what Bavlio should write, in the sender's words.
Required string length: 1 - 1000
The lead the previous preview was written for. Bavlio writes the next preview for the lead after it, so the same brief can be tried on someone else.
Response
StepPreview