Composition

Compose, refine, or score a tweet

post/compose

Request body

step'compose' | 'refine' | 'score' required

Workflow step

topicstring

Tweet topic (compose, refine)

goal'engagement' | 'followers' | 'authority' | 'conversation'

Optimization goal

draftstring

Tweet draft text to evaluate (score)

tonestring

Desired tone (refine)

styleUsernamestring

Cached style username for voice matching (compose)

additionalContextstring

Extra context or URLs (refine)

callToActionstring

Desired call to action (refine)

mediaType'photo' | 'video' | 'none'

Media type (refine)

hasLinkboolean

Whether a link is attached (score)

hasMediaboolean

Whether media is attached (score)

Response

Composition result

object required

Changes