templates

Generate Template

Generate a template using AI based on user description. Uses only valid {{variable}} syntax from LoadTemplateSchema, CarrierTemplateSchema, OfferTemplateSchema.

post/v1/templates/generate

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

mentium-workspace-idstring nullable

Request body

promptstring required
template_type'EMAIL' | 'SMS'

Response

Successful Response

subjectstring nullable
bodystring required

Changes

No recorded changes to this operation across all 2 revisions of this API.