Estimate Email Draft
POST /sequencer/content/email/estimate
What drafting this email WOULD cost, in credits - without drafting it. Free.
Takes exactly the body of .../email/generate, and builds the identical
prompt, so the number is what that call is billed. cached: true with
estimated_credits: 0 means the draft would be served from cache free.
A 503 means the price list is unavailable - the cost is unknown, not zero.
Authorizations
Parameters
Header Parameters
Request Body required
Draft one contact’s email. Mirrors OnDemandPayload field for field.
object
The textual agent whose voice and context are used.
What the email should do - the step’s prompt.
What is known about the contact, as free text.
Responses
200
Successful Response
object
An open envelope around one sequencer record.
Open because templates, schedules and channels carry nested step data and configuration that grows as channels are added.
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error