Skip to main content
POST
Check a campaign message without sending it
Validation checks the key, campaign, template, parameters and media. It does not check recipient consent or wallet balance. A passing result does not guarantee that a later send succeeds. Validation is rate limited like a send. Failures use the shared problem format. Successful pricing uses camelCase fields, including quotedUsd.

Authorizations

Authorization
string
header
required

An API key (tars_sk_…) sent as Authorization: Bearer <key>. Each operation names the permission it needs. Create keys in Settings → Integrations → API keys.

Path Parameters

id
string
required

The id.

Required string length: 1 - 128

Body

application/json

One webhook campaign message.

to
string
required

The recipient in international format.

params
object

Template parameters by name.

media
object

Media for the template's media header.

Response

The message would be sent at this price.

The price the message would be charged.

ok
any
required
pricing
object
required

The quote.