API Integration / Customer Endpoint
Dunning
Adaptive Campaigns
Emails
SMS Nudge
Last Chance Offers
Retries
Card Updates
Alerts
Data & Testing
Cancel Flows
Overview
Getting Started
Testing
Deflections
Cancel Reasons
Targeted Offers
Custom Branding
Segmentation
Analytics & Insights
Integrations
Recharge
Stripe
Braintree
API
Getting Started with the Churn Buster API
Successful Payments API Endpoint
Failed Payments API Endpoint
Cancellations API Endpoint
Default Payment Method API Endpoint (always optional)
Customer Endpoint
Upcoming Annual Renewals API Endpoint
Webhook Data Reference
Other
FAQ
Customer Endpoint
Sync customer profile data into Churn Buster so emails personalize correctly and segmentation has real signal.
1. Use the Churn Buster API customer endpoint to fetch customer data from Churn Buster, like the customer-specific card update link.
curl -X "GET" "https://api.churnbuster.io/v1/customers" \
-H "Content-Type: application/json" \
-u "ACCOUNT_ID:API_KEY" \
-d $'{
{
"capture_url": "https://yoursite.com/billing?c="
}
}
We support finding customers by Churn Buster customer id, or source and source_id.
For example:
curl -X "GET" "https://api.churnbuster.io/v1/customers?id=10b0c034-0605-4ee0-8e08-4016febf63dc" \
-H "Content-Type: application/json" \
-u "ACCOUNT_ID:API_KEY"
or
curl -X "GET" "https://api.churnbuster.io/v1/customers?source=stripe&source_id=cus_EXAMPLE" \
-H "Content-Type: application/json" \
-u "ACCOUNT_ID:API_KEY"
2. Update customer information with the POST action below.
curl -X "POST" "https://api.churnbuster.io/v1/customers" \
-H 'Content-Type: application/json' \
-u 'ACCOUNT_UUID:API_KEY' \
-d $'{
"email": "sara@example.com",
"properties": {
"card_update_url": "https://..."
},
"source": "stripe",
"source_id": "cus_abc1234"
}'