Keap XML-RPC API Deprecation 2027: REST v2 Migration Guide
Keap's XML-RPC API is deprecated without support from March 15, 2027. Audit exposure, export data, and decide between a REST v2 rewrite or CRM migration.
Planning a migration?
Get a free 30-min call with our engineers. We'll review your setup and map out a custom migration plan — no obligation.
Schedule a free call- 1,500+ migrations completed
- Zero downtime guaranteed
- Transparent, fixed pricing
- Project success responsibility
- Post-migration support included
Keap XML-RPC API Deprecation 2027: REST v2 Migration Guide
Keap's XML-RPC API will be fully deprecated without warranty or support on March 15, 2027. From that date, Keap stops shipping updates, patches, and support for XML-RPC. If your integration breaks after March 15, there is no fix coming from Keap — the only path forward is REST v2. (learn.thryv.com)
This replaced an earlier plan. On December 1, 2025, Keap announced that XML-RPC would be "permanently sunset on December 31, 2026." Keap later revised both the date and the terms: a full deprecation without warranty or support on March 15, 2027, and Keap says it is not shutting off access on that date (learn.thryv.com).
Deprecated ≠ switched off, but do not treat that as breathing room. An unsupported API is an unpatched API. One breaking change in an upstream dependency — a TLS version bump, an authentication-layer change, a payload format tweak — and your integration fails with no support path. For engineering teams, treat March 15, 2027 as the deadline, not as the start of a grace period. Running revenue-bearing integrations on an unsupported API is a business risk.
This guide covers how to audit your systems for XML-RPC dependencies, export a complete copy of your data before touching anything, understand what a REST v2 rewrite actually requires at the code level, and decide whether this deadline is the right forcing function to switch CRMs entirely.
What is the Keap XML-RPC API?
Keap's XML-RPC API is the original Infusionsoft developer interface — the XML-over-HTTP protocol most integrations were built against before Infusionsoft became Keap, and before Thryv acquired Keap in October 2024 (investor.thryv.com). Keap's official PHP SDK sends XML-RPC calls to https://api.infusionsoft.com/crm/xmlrpc/v1 (github.com). REST v2 calls go to https://api.infusionsoft.com/crm/rest/v2/ (learn.thryv.com). Keap's developer portal documents the Core REST API v2 alongside REST v1 and XML-RPC (developer.keap.com). Keap's deprecation notice names REST v2 as the only path forward, so target v2 rather than v1 for the rebuild (learn.thryv.com).
Code written against the Infusionsoft API years ago often uses XML-RPC. That includes custom PHP scripts, older WordPress plugins, membership-site connectors, and Zaps built on Keap's legacy Zapier app.
Max Classic users: check each XML-RPC method you depend on against Keap's REST v2 resource mapping guide before committing to a rewrite timeline. Confirm coverage method by method rather than assuming it.
Watch the changelog. Keap's developer portal has a changelog that tags new, updated, deprecated and removed endpoints (developer.keap.com). Check it while you plan, because the REST v2 surface is still changing.
How to find what still uses XML-RPC
Start inside Keap's API settings, then work outward through code, scheduled jobs, and third-party connectors. Keap's own help article confirms the API settings page is the starting point, but it does not directly flag which integrations use XML-RPC vs REST — it inventories connected integrations and keys. Keap explicitly states it cannot directly identify which integrations are installed in an account, so the settings page is only the first pass (learn.thryv.com).
In Keap Pro, Max, and Ultimate, select your profile name → Settings, then scroll to API. In Max Classic, select the profile icon → API Settings. Review Third-Party Authorizations, Personal Access Tokens, and Service Account Keys. Third-Party Authorizations show the app name and the user who authorized it. PATs and SAKs show names and creation dates, but not which integration is consuming them, and SAKs are visible only to admins (learn.thryv.com).
For custom integrations with accessible source code, search for these signatures:
- The endpoint
api.infusionsoft.com/crm/xmlrpc(or the older per-app endpointyourapp.infusionsoft.com/api/xmlrpc) - XML-RPC method names:
ContactService.add,ContactService.findByEmail,DataService.query,InvoiceService.createBlankOrder,APIEmailService.optOut - The older Infusionsoft PHP SDKs (
isdk.php,novaksolutions/infusionsoft-php-sdk, or anyphpxmlrpcdependency) Content-Type: text/xmlheaders in HTTP calls to Infusionsoft/Keap domains
# Recursive search for XML-RPC references in a project
grep -rl 'xmlrpc\|ContactService\|DataService\.query\|InvoiceService\|APIEmailService' \
--include='*.php' --include='*.py' --include='*.js' --include='*.ts' .Keap also publishes a Python script in its migration guide that scans a project recursively and exports detected XML-RPC references into a CSV file (learn.thryv.com).
Common places XML-RPC hides
- Zapier: Keap's legacy Zapier app runs on XML-RPC, and the new Keap Zapier app is built on REST v2. This is not an automatic migration: you re-link your Keap login in the new app and recreate each Zap. Thryv stops supporting the legacy app on March 15, 2027 (learn.thryv.com).
- WordPress plugins and membership tools: Older Keap integration plugins may use XML-RPC. Ask the vendor directly which API version it uses and whether a REST v2 update is available.
- Custom exports and sync scripts: Contact syncs, tag-based segmentation pulls, order and invoice exports, appointment schedulers, and automation triggers written by freelancers or agencies over the years. These often hide in cron jobs, serverless functions, and connector config repos that business owners have forgotten about.
- Legacy Infusionsoft SDK code: PHP applications using the original Infusionsoft SDK (
isdk.php) are XML-RPC by definition. - Third-party connectors: Ask each connector vendor for its REST v2 migration status. Keap points customers to an Integrator Status Report, but participation is optional. If a connector is missing from the report, contact the integrator directly (learn.thryv.com). Keap says it does not build or support integrations directly, so the integrator who owns the code plans and carries out the migration (learn.thryv.com).
How to export a complete copy of Keap data before touching anything
Before you rewrite a single API call or test REST v2 POST requests, take a full data snapshot. This is your safety net if a rewrite goes wrong and your insurance policy if you decide to switch CRMs.
What Keap's native export covers — and misses
Keap exports contacts as CSV from Contacts → People. Select all fields including custom fields. Exports of 1,000 contacts or fewer download immediately; larger exports are delivered by an email link that is valid for 24 hours (learn.thryv.com).
The critical gap: Keap's native contact CSV export does not include tags or notes. Tags are the backbone of most Keap automations, and they are not in the export file. Keap Pro and Max users can run the Tag Tracker report separately to match exported contact IDs with their applied tags, then join the two files manually or in a script. Notes must be pulled separately through the Task Note Report under Reports (learn.thryv.com).
Beyond contacts, the All Sales report has a Download Report button that exports the itemized order list as a CSV file (learn.thryv.com).
Before you rely on CSV exports, list the records you need that these exports do not cover, and decide how you will capture each one:
- Tag-to-contact associations (Tag Tracker workaround or API)
- Campaign and automation sequences (document them; they do not travel as data)
- Email templates and sent-email history
- File attachments on contact records
- Pipeline deals and opportunities
- Full e-commerce detail — payments, subscription billing history, invoice line items at the transaction level
The API-based export
For a complete extraction that preserves relational data, the REST v2 API (or XML-RPC while it still works) is the only reliable path. Extract in this order to respect the relational hierarchy:
- Contacts — all records, including custom fields
- Tags — the master list of all tags (Contact Groups)
- Tag assignments — the mapping of which tags belong to which contacts, including when each tag was applied. REST v2 can filter a contact's tags by applied time (github.com). This is what defines your automation history.
- Products and subscriptions — your product catalog
- Orders and invoices — transactional history with line items tied to each invoice
- Notes and tasks — CRM activity history
Store this in a relational format — a local PostgreSQL database or strictly mapped JSON files. CSV loses structure: a contact with three email addresses and twelve tags becomes a single row that is hard to reconstruct. JSON preserves the hierarchy.
The recommended approach is API first, JSON as the intermediate format, CSV only as a last resort. Extract via the REST API into JSON, validate record counts and field completeness, then transform into the target platform's import format. For a detailed walkthrough of Keap data extraction, see our Keap to HighLevel migration guide.
What a REST v2 rewrite involves
Migrating from XML-RPC to REST v2 is a full rebuild, not a find-and-replace. XML-RPC sends method calls as XML payloads via POST. REST v2 uses resource-based URLs with JSON over standard HTTP verbs (GET, POST, PATCH, DELETE). Keap's own words: "REST v2 is a rebuild, not a drop-in replacement" (learn.thryv.com).
Authentication: OAuth 2.0 or Service Account Keys
Older XML-RPC code often passed a legacy API key as the first parameter in the XML body. Current Keap credentials are OAuth 2.0 access tokens, Personal Access Tokens (PATs) and Service Account Keys (SAKs).
Keap's migration guide describes OAuth 2.0 for REST v2. Access tokens are short-lived, so your integration must refresh them — token lifecycle management that most older XML-RPC codebases never handled (learn.thryv.com). Keap's help centre sets out when to use each credential (learn.thryv.com):
- OAuth 2.0 Access Code flow: third-party integrations should use this rather than a Service Account Key.
- Personal Access Token: any user can create one. It runs with the creating user's permissions, so it suits single-user or exploratory development.
- Service Account Key: only admins can create one, and it grants admin-level access to all stored data. Keap positions it for connecting your other business systems.
Keap's help centre says to send a PAT or SAK in an X-Keap-API-Key request header to https://api.infusionsoft.com (learn.thryv.com). For commercial apps, implement the full OAuth 2.0 flow including refresh token handling.
From DataService to resource endpoints
DataService.query was XML-RPC's direct database query layer. It exposed Keap's underlying database tables as queryable objects — ContactGroupAssign, Payment, JobRecurringInstance — accepting field lists, WHERE-clause conditions, and result limits as method parameters. Developers used it to perform cross-table joins at the API level, treating Keap almost like a remote SQL server. That capability is gone in REST v2.
REST v2 enforces resource boundaries. You cannot query arbitrary tables. Instead, you use specific endpoints. For example, GET /crm/rest/v2/contacts/{contact_id}/tags can filter a contact's tags by since_applied_time and until_applied_time, and GET /crm/rest/v2/sales/transactions can filter transactions by since_time and until_time (github.com). If your legacy application relies on complex DataService.query joins for custom reports or accounting exports, you will need to make multiple REST calls and join the data in your application layer. That can mean many more API calls for the same result, which matters for rate limits.
Keap publishes an XML-RPC to REST v2 resource mapping guide. Its linked spreadsheet pairs each XML-RPC resource and operation with the REST v2 resource to use instead, grouped by domain, such as Affiliates or CRM (learn.thryv.com). Keap also warns that a small number of XML-RPC methods will not be converted directly, and lists them with reasons and alternatives in a separate gap analysis spreadsheet (learn.thryv.com). Verify the mapping before assuming 1:1 parity.
A typical migration pattern:
# XML-RPC (old): find a contact by email
POST /crm/xmlrpc/v1
Content-Type: text/xml
<methodCall>
<methodName>ContactService.findByEmail</methodName>
...
</methodCall>
# REST v2 (new): same lookup (filter value URL-encoded)
GET /crm/rest/v2/contacts?filter=email%3D%3Djohn%40example.com&page_size=10
Authorization: Bearer YOUR_ACCESS_TOKEN
Accept: application/jsonKeap maintains official SDKs generated from its OpenAPI specification in Python, C#, PHP, Java, JavaScript, and TypeScript, hosted in the keap-sdk GitHub repository (keap.com).
Payload restructuring
XML-RPC payloads were XML-formatted arrays requiring explicit data typing within XML nodes (strings, integers, datetimes). REST v2 uses standard JSON — easier to work with, but the field names have changed. Legacy custom fields in XML-RPC were often prefixed with an underscore (e.g., _CustomField). In REST v2, custom fields sit in a custom_fields array of objects, each with an id and a content value (github.com).
To find custom field IDs in REST v2, call GET /crm/rest/v2/contacts/model. It returns the custom fields and optional properties for the Contact object (github.com). Cache the response, and refresh it whenever someone changes custom fields in Keap. The "id": "12" in the payload below comes from that model endpoint.
{
"given_name": "Bruce",
"family_name": "Wayne",
"email_addresses": [
{
"email": "bruce@wayneenterprises.com",
"field": "EMAIL1"
}
],
"custom_fields": [
{
"content": "VIP",
"id": "12"
}
]
}One behavior catches XML-RPC developers out. When you PATCH a contact's custom_fields in REST v2, the array you send replaces the whole array rather than merging into it, and Keap staff have confirmed this is intended (integration.keap.com). Send every custom field value you want to keep, not only the one you changed.
Error handling changes
XML-RPC returned <fault> responses with numeric fault codes and string messages. REST v2 returns structured JSON errors with HTTP status codes, and Keap's migration guide lists 400, 401, 403, 404, 429 and 500 with the action to take for each (learn.thryv.com). The error body carries code, message, status and an optional details array (github.com). Your error-handling code must be rewritten to parse JSON instead of XML fault nodes. The fault code integers from XML-RPC have no direct mapping to REST v2 — replace fault-code-based branching with HTTP status code checks.
Webhook differences
XML-RPC integrations typically polled Keap for new data on a schedule. Keap's push mechanism is REST hooks, and they are documented in the REST v1 API, not REST v2: you create a hook subscription with POST /crm/rest/v1/hooks and list the available event types with GET /crm/rest/v1/hooks/event_keys (github.com). The REST v2 specification has no hooks resource (github.com). If your existing integration polled XML-RPC on a schedule, moving to REST hooks can reduce your request volume, but plan for that one piece to sit on v1.
Pagination and rate limits
XML-RPC pagination used page numbers and limits passed to DataService.query. REST v2 list endpoints take a page_size and a page_token, and each response returns a next_page_token (github.com). Your extraction loops must read the token from each response and pass it on the next request.
Keap's help centre gives fixed limits for Personal Access Tokens and Service Account Keys: 10 queries per second, 240 per minute and 30,000 per day, and these cannot be adjusted (learn.thryv.com). OAuth 2.0 tokens have separate limits. Check the current figures with Keap before you size a large extraction.
Your HTTP client must implement exponential backoff for 429 Too Many Requests responses, which Keap's migration guide also recommends (learn.thryv.com).
REST v2 sandbox environment
Keap's developer portal links to a Keap Sandbox (developer.keap.com). Build and validate your REST v2 implementation against a sandbox or test account before you touch production, so that test writes never land in live data.
Known REST v2 gaps
On November 11, 2025, Keap said its "v2 REST API has now reached full feature parity with our legacy XMLRPC API." The same update notes that "Some endpoints will not migrate to v2 as they relate to deprecated legacy functionalities" (keap.com). Developers have still reported coverage gaps on Keap's integration forum, and Keap staff have closed several of them during 2026 (integration.keap.com):
- Custom field filtering: added in July 2026 for contacts, companies, orders and affiliates, with other resources to follow.
- Opportunities by contact: REST v2 can filter opportunities by contact ID since May 2026.
- Email opt-in and opt-out: Keap staff point to the email address status endpoint,
PATCH /crm/rest/v2/emailAddresses/{email}/status, in place ofAPIEmailService.optOut. - Custom field updates: a PATCH replaces the whole
custom_fieldsarray, as described above. Keap calls this intended behavior. - Arbitrary table access: any integration that queried non-standard Keap tables via
DataService.queryhas no REST v2 equivalent. This is by design — REST v2 does not expose the underlying database schema.
Check each method you depend on against the resource mapping guide and the gap analysis spreadsheet, and watch Keap's developer changelog, before assuming a gap still exists.
The practical strategy: run your XML-RPC integration and the new REST v2 version in parallel during migration to verify field-level output parity before cutting over. Keap confirms you can use both APIs during the transition (learn.thryv.com).
Rewrite for REST v2 or switch CRM?
The March 2027 deprecation forces a decision many Keap customers have been deferring. If your XML-RPC integrations must be rebuilt anyway, the question is whether to rebuild them against REST v2 or invest that engineering effort in a new platform.
When rewriting for REST v2 makes sense
Rewrite if all of the following are true:
- Your integration footprint is small: A handful of custom integrations, all using XML-RPC methods with confirmed REST v2 equivalents.
- None of your methods hit a known gap: Specifically, no dependency on
DataService.queryfor arbitrary table access, and no method on Keap's list of endpoints that are not being converted. - The rewrite costs less than moving: Get a developer's estimate for the rewrite and compare it with the cost of a CRM migration plus a rebuild of your workflows.
- You rely on Max Classic features with no direct equivalent elsewhere, particularly legacy campaign builder sequencing and subscription billing structures.
- Your team already knows Keap's data model and rebuilding on REST v2 is cheaper than retraining staff and rebuilding workflows on a new platform.
When the deadline is the moment to switch
Migrate if any of the following are true:
- Your rewrite depends on a method Keap is not converting: If your integration relies on an XML-RPC method in Keap's gap analysis with no workable alternative, you are building a partial solution on REST v2 regardless of effort.
- Your Keap bill has outgrown the value: Price your current plan against alternatives at your actual list size and user count.
- Your rewrite engineering cost approaches migration cost: If the estimate to rebuild complex XML-RPC integrations on REST v2 comes close to the cost of a CRM migration plus a rebuild, the move gets you a system you chose deliberately.
- You need functionality Keap does not offer: Native sales reporting with custom objects, multi-channel messaging with unified inboxes, usage-based pricing instead of contact-count tiers, or object-and-property data models for complex B2B pipelines.
- The Thryv acquisition creates strategic uncertainty for you: Thryv completed its acquisition of Keap on October 31, 2024 (investor.thryv.com). Customers uncertain about the product roadmap under new ownership have a natural exit window during this forced migration.
Common destinations for Keap customers
- HubSpot — for teams that want sales-plus-marketing alignment and a property-based data model. Best fit when you have outgrown Keap's tag-only segmentation and need pipeline reporting with custom objects.
- GoHighLevel — for agencies wanting unlimited contacts and white-label capability. Closest analog to Keap's "all-in-one" positioning at a flat monthly rate regardless of contact count. See our Keap vs GoHighLevel comparison.
- ActiveCampaign — for email-first businesses where Keap's pricing has outpaced the value. Strong automation builder; compare its pricing with Keap's at your list size.
- Ontraport — close to Keap's all-in-one model, including built-in e-commerce and membership sites.
- Zoho CRM — maximum features per dollar with a full suite play. Best when you want CRM, helpdesk, finance, and project management under one vendor at predictable per-seat pricing.
We wrote a detailed comparison in Top Keap Alternatives (2026), including total cost of ownership and the engineering work each migration requires.
If you switch CRMs, the migration is a data-architecture problem. You must translate Keap's tag-heavy logic into the target system's object model — mapping tags to custom properties, active lists, or pipeline stages. For HighLevel specifically, see The Ultimate Keap to HighLevel Migration Guide.
Two different clocks. The XML-RPC deprecation date and a CRM migration timeline are separate efforts. Moving the data — extraction and loading — depends on data volume, complexity, and API rate limits. Rebuilding automations, campaigns, and business workflows on a new platform is separate work that usually takes longer and varies by platform complexity and automation count.
A practical timeline for getting this done
March 15, 2027 is less than four months away. Here is a realistic path:
- Now: Audit your XML-RPC exposure. Run the codebase search, review Keap API settings, check every Zapier zap and third-party connector. Know the full surface area.
- Within 2 weeks: Take a full data export. Contacts with all fields, tags via Tag Tracker or API, orders, payments, notes. Store it outside Keap.
- Within 4 weeks: Decide — rewrite or migrate. Apply the decision criteria above: integration count, confirmed gap dependencies, rewrite cost vs. migration cost, strategic fit. If staying on Keap, start the REST v2 rewrite. If leaving, pick your target platform and begin scoping.
- If rewriting: Set up the sandbox environment. Build and validate the REST v2 version against the sandbox before touching production. Run parallel against production to compare output field by field. Cut over only after parity is confirmed.
- If migrating CRM: Scope the data move separately from the platform rebuild. Get your data into the new system first — contacts, tags, orders, notes — then rebuild automations and workflows with the data already in place. Do not rebuild workflows against an empty system.
Starting scoping at least 3–4 months before an internal deadline is the minimum. With March 15, 2027 approaching, waiting stops being reasonable now.
The decision is now, not March 15
The XML-RPC deprecation is not the kind of deadline you work up to — it is the kind you work back from. If you start the REST v2 rewrite or CRM migration in February 2027, you are already late. Not because the API stops on March 15, but because every day after that date your integration runs without a support path.
Two things to do today: audit your XML-RPC exposure, and take a full data backup. Everything else follows from knowing what you have and having a copy that is yours.
Frequently Asked Questions
- Is Keap shutting off the XML-RPC API on March 15, 2027?
- No. Keap is deprecating it without warranty or support, not switching it off. Your XML-RPC integration keeps running past that date, but Keap will not provide updates, patches, support, or outage assistance. If it breaks after March 15, there is no fix coming from Keap — the only path forward is migrating to REST v2.
- What happened to the December 31, 2026 XML-RPC sunset date?
- On December 1, 2025, Keap announced that the XML-RPC API would be permanently sunset on December 31, 2026. Keap later replaced that plan with a full deprecation, without warranty or support, on March 15, 2027. The change is both a later date and softer terms, because Keap says it is not shutting off access on that date.
- How do I know if my Keap integration uses XML-RPC?
- Search your codebase for 'xmlrpc', 'api.infusionsoft.com/crm/xmlrpc', or XML-RPC method names like ContactService.add and DataService.query. Check if you use the older Infusionsoft PHP SDK (isdk.php). Zapier zaps on the legacy Keap app also use XML-RPC. Keap's API settings show connected integrations but do not indicate the protocol directly.
- Does Keap's CSV export include tags and notes?
- No. Keap's native contact CSV export does not include tags or notes. Tags require the Tag Tracker report, and notes require the Task Note Report — both must be exported separately and joined with your contact data. For a complete export including tags, orders, and invoices with full structure, use the REST API.
- Is Keap REST v2 a drop-in replacement for XML-RPC?
- No. Keap says REST v2 is a rebuild, not a drop-in replacement. It uses JSON over HTTP instead of XML, resource-based endpoints instead of method calls, and page tokens instead of page numbers. Keap also warns that a small number of XML-RPC methods will not be converted directly to REST v2.