Engagement Email

Preview Kai-written emails

Changed on

Writes Kai emails for a few sample recipients with the saved Kai config. Nothing is sent or stored; the model calls are billed as AI usage.

post/engagement/emails/{engagementEmailId}/kai/sample

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/engagement/emails/{engagementEmailId}/kai/sample
  • Auth
    HTTP bearer

Path parameters

engagementEmailIdstring required

Headers

projectstring required

Request body

contactIdsstring[]

Contacts of this project to write for (max 5). Without them Kai picks recent contacts from the audience.

countnumber double

How many samples (default 3, max 5).

Response

Ok

unknown required

Changes