Create campaign
https://whatsapp.paaltech.org/api/v1/businesses/{external_id}/campaigns
Token ability:
campaigns.manage
ยท Authentication
A draft broadcast of one APPROVED template to a segment or a list of contacts.
parameters maps each template variable to a source per contact - field:name
(name, phone, email, external_id), custom:<key> or text:<fixed text>. Preview it,
then launch it - now, at send_at, or repeating every week or month.
Path parameters
external_id
string
required
Your own ID for the business (Multi-SKUUL - the tenant ID).
Max 191 characters. Pattern ^[A-Za-z0-9._:-]+$.
Body parameters
name
string
required
Max 191 characters.
template
object
required
name
string
required
template.name
language
string
required
template.language
parameters
object
segment_id
integer | null
The audience - or contact_ids.
contact_ids
array of integers | null
Max 10000 items.
phone_number_id
string | null
category
string | null
One of: marketing, notifications, transactional, ``.
topic
string | null
One of: fees, results, attendance, pta, marketing, system, ``.
send_at
string | null
Format date-time.
repeat
string | null
One of: week, month, ``.
per_minute
integer | null
Pace: messages per minute (default 60).
Responses
The draft.
unauthenticated - missing, invalid, revoked or expired token
missing_ability, product_suspended or product_token_required
not_found - not yours, or does not exist
validation_failed or unknown_template.
rate_limited - over 300 requests/minute for this product
Errors always look like {"error": {"code", "message"}} - see Errors and status codes.