Skip to main content
POST
Preview a text and get its owner approval link

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Body

application/json
to
string
required
body
string
required

Response

Preview stored; nothing sent

id
string<uuid>
required
object
any
required
state
string
required
segments
integer
required
direction
string
segments_settled
boolean
encoding
string
thread_id
string | null
provider_message_id
string | null
spend_bound_cents
integer
error
string | null
approval
object