ChurnKey
ChurnKey is a subscription-retention platform that helps SaaS businesses reduce churn through customizable cancel flows, failed-payment recovery, and predictive customer-health models. This connector uses the ChurnKey Data API and Event Tracking API to read cancel session records and aggregated churn metrics into Nexla, and to push behavioral events, customer attribute updates, and billing-contact configurations back to ChurnKey.

Power end-to-end data operations for your ChurnKey API with Nexla. Our bi-directional ChurnKey connector is purpose-built for ChurnKey, making it simple to ingest data, sync it across systems, and deliver it anywhere — all with no coding required. Nexla turns API-sourced data into ready-to-use, reusable data products and makes it easy to send data to ChurnKey or any other destination. With comprehensive monitoring, lineage tracking, and access controls, Nexla keeps your ChurnKey workflows fast, secure, and fully governed.
Features
Type: API
- Seamless API Integration: Connect to any endpoint as source or destination without coding, with automatic data product creation
- Visual Composition & Chaining: Build complex integrations using visual templates, chain API calls, and compose workflows with data validation and filtering
- API Proxy: Expose curated slices of your data securely with a secure and customizable API proxy that validates and transforms data on the fly
- Request optimization with intelligent batching, retry, and caching to minimize API calls and costs
Prerequisites
To connect Nexla to ChurnKey, you will need an active ChurnKey account along with a Data API key and your App ID. ChurnKey authenticates all Data API and Event Tracking API requests using two values passed as request headers: the API key in the x-ck-api-key header and the App ID in the x-ck-app header.
Locate Your App ID
Your App ID is a unique identifier for your ChurnKey application and is required on every API request.
-
Sign in to the ChurnKey dashboard at app.churnkey.co.
-
Navigate to Settings > Account.
-
Locate your App ID in the account details. This value is sent in the
x-ck-appheader on every request.
Generate a Data API Key
ChurnKey uses a dedicated Data API key for server-to-server integrations. This key is distinct from the Cancel Flow (client-side) API key — using the Cancel Flow key for Data API requests will result in 401 or 403 authorization errors.
-
In the ChurnKey dashboard, navigate to Settings > Account.
-
Locate the Data API section, and copy or generate your Data API key. Data API keys are typically prefixed with
data_. -
Store this key securely. It grants programmatic access to your cancel session data, customer events, and GDPR (Data Subject Request) operations.
Keep your Data API key secureThe Data API key provides full access to read session data and to create, update, and delete customer records and events. Treat it like a password, and never expose it in client-side code or public repositories.
For complete details about the ChurnKey Data API and authentication, refer to the ChurnKey Data API documentation.
Authenticate
Create a credential in Nexla
-
After selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
-
Enter your ChurnKey Data API key in the API Key field. Nexla sends this value in the
x-ck-api-keyrequest header to authenticate each API call. This field is required and is stored securely. -
Enter your ChurnKey App ID in the App ID field. Nexla sends this value in the
x-ck-apprequest header on every request. This field is required and identifies your ChurnKey application. Your App ID is found under Settings > Account in the ChurnKey dashboard.Nexla validates the credential by issuing a test request to the ChurnKey sessions endpoint. If validation fails, confirm that the API key is a Data API key (not a Cancel Flow key) and that the App ID matches the one shown in your ChurnKey account.
-
Click the Save button at the bottom of the overlay to save the configured credential. The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.
Use as a data source
To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Select the ChurnKey connector tile, then select the credential that will be used to connect to the ChurnKey instance, and click Next; or, create a new ChurnKey credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common ChurnKey endpoints. Each template is designed specifically for the corresponding ChurnKey endpoint, making data source setup easy and efficient. Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below.
Once the selected endpoint template has been configured, click the Test button to the right of the endpoint selection menu to retrieve a sample of the data that will be fetched. Sample data will be displayed in the Endpoint Test Result panel on the right, allowing you to verify that the source is configured correctly before saving.
Manual configuration
ChurnKey data sources can also be manually configured to ingest data from any valid ChurnKey API endpoint, including endpoints not covered by the pre-built templates, chained API calls, or custom request parameters. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, endpoint URL, date/time and lookup macros, path to data, metadata, and request headers. ChurnKey Data API endpoints are based at https://api.churnkey.co/v1/data/.
You do not need to include the ChurnKey x-ck-api-key and x-ck-app authentication headers in Request Headers — Nexla adds them automatically based on your credential configuration. For endpoints like the sessions endpoint that return a top-level array, set Path to Data in Response to $[*] so that each array element becomes a record.
Once all of the relevant settings have been configured, click the Create button in the upper right corner of the screen to save and create the new ChurnKey data source. Nexla will now begin ingesting data from the configured endpoint and will organize any data that it finds into one or more Nexsets.
Use as a destination
Click the + icon on the Nexset that will be sent to the ChurnKey destination, and select the Send to Destination option from the menu. Select the ChurnKey connector from the list of available destination connectors, then select the credential that will be used to connect to the ChurnKey account, and click Next; or, create a new ChurnKey credential for use in this flow.
Endpoint templates
Nexla provides pre-built templates that can be used to rapidly configure destinations to send data to common ChurnKey endpoints. Select the endpoint to which data will be sent from the Endpoint pulldown menu. Then, click on the template in the list below to expand it, and follow the instructions to configure additional endpoint settings.
Manual configuration
ChurnKey destinations can also be manually configured to send data to any valid ChurnKey API endpoint, and can automatically send the response received from the ChurnKey API after each call to a new Nexla webhook data source. Select the Advanced tab at the top of the configuration screen, and follow the instructions in Connect to Any API to configure the API method, data format, endpoint URL, request headers, attribute exclusions, record batching, and response webhooks. ChurnKey write endpoints use the POST method with JSON-formatted request bodies. ChurnKey Event Tracking endpoints are based at https://api.churnkey.co/v1/api/, and the GDPR deletion endpoint is https://api.churnkey.co/v1/data/dsr/delete.
You do not need to include the ChurnKey x-ck-api-key and x-ck-app authentication headers in Request Headers — Nexla adds them automatically based on your credential configuration. When batching records for the Bulk Create Events endpoint, set the batch size to no more than 100, since the endpoint accepts a maximum of 100 events per call.
Save & activate
Once all endpoint settings have been configured, click the Done button in the upper right corner of the screen to save and create the destination. To begin sending data to ChurnKey, open the destination resource menu, and select Activate.
The Nexset data will not be sent to ChurnKey until the destination is activated. Destinations can be activated immediately or at a later time, providing full control over data movement.