Skip to main content
POST
Add a follow-up to a campaign already sending or sent: one more message to who read it (`who: read`) or tapped its link (`who: clicked`) and has not ordered, `after_hours` (24 to 48) after their own send, with its template and mapping. Answers the campaign.

Authorizations

Authorization
string
header
required

An account token from Settings › Account API in the Tawked console: Authorization: Bearer tk_acct_…

Headers

Idempotency-Key
string

One per intended change (1 to 128 printable ASCII characters): a retry with the same key and the same request answers the stored 2xx with Idempotent-Replayed: true, for 24 hours. A 428 approval_required is never stored: send the approved request again with the same key or none. An answer that carried a secret shown once is never kept: its replay answers 409 idempotency_secret_not_replayable with the id of what it made.

Required string length: 1 - 128
Tawked-Approval
string<uuid>

The id of an approval its person approved (approvals.show answers approved): the same request then runs, once.

Path Parameters

application
string
required

An application's id (a UUID); list them with applications.applications.list.

Pattern: ^(?:[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})$
campaign
string
required

A campaign's id (a UUID); list them with campaigns.campaigns.list.

Pattern: ^(?:[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12})$

Body

application/json
after_hours
integer
required
Required range: 24 <= x <= 48
template_language
string
required
Maximum string length: 16
template_name
string
required
Maximum string length: 512
who
enum<string>
required
Available options:
read,
clicked
mapping
object | null

Response

Done.

data
object
required