Churnkey
App · 2 actions
Read cancellation sessions and measure retention outcomes.
Get session aggregation
Get cancellation totals grouped by time, offers or survey responses.
Inputs
- Start date
start_datedate - Start date.
- End date
end_datedate - End date.
- Breakdown
breakdowntext - Grouping such as month, month-offerType or month-surveyResponse.
Outputs
dataobject- The response from Churnkey.
Example output
{
"data": {}
}List sessions
List cancellation sessions with customer, offer and outcome filters.
Inputs
- Limit
limitnumber - Limit.From 1 to 10000.
- Skip
skipnumber - Skip.At least 0.
- Start date
start_datedate - Start date.
- End date
end_datedate - End date.
- Customer ID
customer_idtext - Customer ID.
- Billing interval
billing_intervaltext - Billing interval.One of:
WEEK,MONTH,YEAR. - Offer type
offer_typetext - Offer type.One of:
PAUSE,DISCOUNT,CONTACT,PLAN_CHANGE(Plan change),REDIRECT,TRIAL_EXTENSION(Trial extension). - Save type
save_typetext - Save type.One of:
PAUSE,DISCOUNT,CONTACT,PLAN_CHANGE(Plan change),REDIRECT,TRIAL_EXTENSION(Trial extension),ABANDON. - Trial
trialtrue/false - Trial.
- Aborted
abortedtrue/false - Aborted.
- Canceled
canceledtrue/false - Canceled.
- Bounced
bouncedtrue/false - Bounced.
Outputs
datalist- The response from Churnkey.
Example output
{
"data": [
{
"_id": "example",
"aborted": true,
"canceled": true,
"customerId": "example",
"id": "example",
"offerType": "example"
}
]
}