Skip to content

campaign.paused

POST

Sent when a campaign pauses: by your team, on reaching its budget, on its end date, or when the business’s Aura plan wasn’t renewed. Actions are still taken in and still count in your results, but earn nothing until the campaign is live again.

Aura-Event-Id
required
string

The event’s unique ID. The same event delivered twice has the same ID.

Example

evt_01JAC7T2Q4N8M3B6H6K8P1D5QS
Aura-Event-Type
required
string

Example

reward.delivered
Aura-Timestamp
required
string

When this delivery attempt was signed, in Unix seconds.

Example

1792489320
Aura-Signature
required
string

v1= followed by the lowercase hex HMAC-SHA256 of {Aura-Timestamp}.{raw body}, keyed with your webhook secret. During a secret rotation the header carries two signatures separated by a comma.

Example

v1=8c3e0f2b9e8a41b3c6d0e9f2a7b4c1d8e3f6a9b2c5d8e1f4a7b0c3d6e9f2a5b8
Media typeapplication/json
object
id
required

Same as the Aura-Event-Id header.

string
object
required
string
Allowed value: event
type
required
string
created_at
required
string format: date-time
test
required

true for events from test actions and for test events sent from the dashboard.

boolean
type
required
string
Allowed value: campaign.paused
data
required
object
object
required
object
id
required
string
object
required
string
Allowed value: campaign
name
required

Your internal name for the campaign.

string
plan_name
required

What customers see, such as “Your 6GB plan from [App]”.

string
status
required

draft: being built. testing: takes actions from test keys only. live: takes actions from live keys and delivers data. paused: takes actions, which count in results but earn nothing. ended: takes actions for 8 weeks after it ends, to show whether the habit stuck, and earns nothing.

string
Allowed values: draft testing live paused ended
starts_with
required

How a customer’s plan starts. action: after the action marked starts_plan, such as a first deposit. offer: by an offer you send with POST /offers, with no action needed first.

string
Allowed values: action offer
version
required

Changing a reward starts a new version, so customers in one version are treated the same.

integer
cadence
required

How often the plan’s data arrives, and so how long each period is.

string
Allowed values: daily weekly monthly
monthly_gb
required

An amount of mobile data in gigabytes (GB), as set in the plan, to at most two decimal places.

number
multiple of 0.01
delivery_gb
required

An amount of mobile data in gigabytes (GB), as set in the plan, to at most two decimal places.

number
multiple of 0.01
periods
required

How many periods a customer can hold the plan.

integer
actions
required
Array<object>
object
key
required

The name your developers send in action.

string

Example

weekly_deposit
name
required

The readable name shown in the dashboard.

string

Example

Weekly deposit
starts_plan
required

Whether this action starts a customer’s plan. Always false in a campaign that starts plans by offer.

boolean
keeps_plan
required

Whether this action keeps the plan for the period it happens in.

boolean
result
required

Whether this is the plan’s result, the action the plan exists to grow.

boolean
referral
required

Whether this action is a referral, sent with the friend who did it.

boolean
condition
required

The least the action must carry to count, when the plan sets one. Below it, the action earns nothing.

object
minimum_amount
object
amount
required

Amount in the currency’s minor unit (kobo for NGN).

integer
currency
required

ISO 4217 currency code.

string
/^[A-Z]{3}$/
minimum_count
integer
first_action_gb
required

A one-off reward for the action that starts the plan, when the plan has one.

number | null
referral_gb
required

What the customer and the friend each earn for a referral, when the plan has referrals.

number | null
grows
required

The plan’s bigger size, when a plan that grows is switched on. Off by default.

object
after_periods
required
integer
delivery_gb
required

An amount of mobile data in gigabytes (GB), as set in the plan, to at most two decimal places.

number
multiple of 0.01
comparison_share
required

The share of new customers placed in the comparison group, from 0 to 0.5. 0 when it is off.

number
<= 0.5
launched_at
required
string | null format: date-time
ends_at
required
string | null format: date-time
reason
required

Why the campaign paused. paused_by_business: your team paused it. budget_reached: its budget is spent. end_date_reached: its end date came. aura_plan_unpaid: your Aura plan wasn’t renewed; paying for a new period sets the campaign live again.

string
Allowed values: paused_by_business budget_reached end_date_reached aura_plan_unpaid

Return any 2xx status within 10 seconds to acknowledge the event.