Back to appHeyWAGet API key

Campaigns

Create campaign

POST/api/public/v1/campaigns

Creates a draft. Does not send messages.

Requires the API migration. One list per campaign; ordered steps from 0. A/B testing is allowed only on the first step, with body_b and ab_split (5–95). Optional event_key names company, job_title, or a custom variable (e.g. application_id) that keys repeat enrollment: a new value re-enrolls the same contact for a fresh cycle.

Authorizations

x-api-keystring· headerrequired

Your workspace API key from Settings. Keep it server-side.

Parameters

namestring· body

Example: "October outreach"

list_idstring· body

Example: "LIST_UUID"

minimum_time_secnumber· body

Example: 300

daily_limitnumber· body

Example: 100

timezonestring· body

Example: "Asia/Kolkata"

start_timestring· body

Example: "09:00"

end_timestring· body

Example: "18:00"

event_keystring· body

Example: "application_id"

stepsarray· body

Example: [{"step_order":0,"body":"Hi {{first_name}}, would you be open to a conversation?"}]

Response codes

200
Success
400
Invalid input
401
Missing, invalid or revoked API key
402
Inactive plan or quota exceeded
404
Resource not found
409
Campaign state or idempotency conflict
422
Launch requirements not satisfied
429
Rate limit exceeded; follow Retry-After
503
API setup required or temporarily unavailable

Rate limit: 300 requests/minute per key. Read endpoints return identifiers and operational metadata, not contact personal information or message content.