As mentioned in the API Community Forum, Keap will be migrating our API Proxy provider from Mashery to Apigee on January 31st, 2020. We do not anticipate any downtime from this migration. We previously noted that we will be adjusting API quotas as part of this migration.For technical reasons, a change needed to be made in our rate limiting policy which means that we will shift from doing limits on a queries per second (QPS) methodology to queries per minute (QPM). In the new scenario, a consumer who had a rate limit of 25 QPS, for example, will now have a rate limit of 1500 QPM (25 queries per second * 60 seconds / minute). This will be a rolling window.In addition to that, the following headers will not be returned anymore:
X-Plan-*
X-PackageKey-*
X-Mashery-*
The response body for throttling and quota errors will still return HTTP 429, but the payload will be json error details.Here is an example of the response payload:
Here is an example of this is rolling window policy in 15 second increments for an account with a 1500 QPM limit:0:00 [1500 queries available] - 1000 queries made
0:15 [500 queries available] - 600 queries made - 100 queries fail
0:30 [0 queries available] - No queries can be made
0:45 [0 queries available] - No queries can be made
1:00 [1000 queries available] - 900 queries made - 200 queries fail
1:15 [600 queries available] - 300 queries made
1:30 [300 queries available] - 300 queries made
1:45 [0 queries available] - 100 queries made, 100 queries fail
2:00 [1000 queries available]
Will this move affect the Infusionsoft API itself or our use of it (other than the API quotas mentioned above)?
How does this move from Mashery to Apigee affect the developer accounts for the developer Infusionsoft API client ID and client secret that are currently acquired via Mashery?
Will registering for a developer account with Mashery still be required to use the latest API if one doesnât already have an Infusionsoft API client ID and client secret via Mashery?
If access, and/or previous methods to use or access the API will be changing at the end of this month, when will the documents and tutorials be updated to reflect the changes?
The other post of yours I think you are referring to said, âWe wanted to inform our developer community that the Infusionsoft Public API (REST and XML/RPC) will be going through a migration to a new provider over the next 6 weeks.â
Does that mean it will change at different times for different users, or that some of the services will be changing at different times, or what?
Does that also mean it should be complete by the end of 6 weeks (presumably from the December post)?
When are the changes due to be complete?
I was about to update from using a legacy API that used an API Key to using a more current API which uses a client ID and client secret. Iâm now wondering if I should wait until after the 31st as registering for a developer account with Mashery may now be unnecessary, and something else may be required instead.
I donât want to implement something new only to have it become obsolete practically right away, but Iâm not sure how long Iâd have to wait, or if things will be changing enough that waiting would be wise.
The current only known breaking change is the error responses sent back when quotas are hit (described in the post)
The client_id and client_secret records have already been imported into Apigee and we have been silently authenticating them for a few weeks.
The Mashery Portal will be turned off on the 31st. All new keys will be created in a new Apigee Portal that will be live sometime this week.
There will be no changes to how you access and use the API. We have been updating relevant documentation that should be reflected in the new Portal which go live sometime this week.
We have been doing all the work necessary since December to ensure a seamless transition. We have already migrated traffic to Apigee which originally was just passing traffic on to Mashery. As of today we are silently verifying credentials and API product assignment (quotas, etc). Today we will most likely cut traffic over to stop calling Mashery and start having Apigee do all the token verification and quota enforcement. We attempted the cutover last week, but we had issues that caused a 15min outage. We have remedied the root cause of that outage and will be attempting this again today. This step has the most risk of all the work that has been done and will be done for the remainder of this week. As stated earlier Mashery will shutdown our proxy the end of the month, so we have a hard cutover date.
You should be able to move over to using OAuth now. We have push mechanism in place that is taking changes from Mashery and applying them to Apigee. So any new accounts should be created in Apigee as well. This can be verified by going to the new portal key management (https://keys.developer.keap.com) and register an account using the same email you used in Mashery.
If you see anything wrong please reach out and we can get it sorted.
When we talk about ânew keysâ, does this mean that the old public/private keys will be invalid for all existing integrations a developer has worked on?
Hey @bradb - Iâm seeing a change in the âexpires_inâ field in the response of requesting a token. I believe that before that was returned as an integer and now itâs coming back as a string. This is causing all of our customers to become disconnected as we attempt to renew their tokens.
Weâre working on patching the code, but is there anything we can do to reconnect all their apps without forcing a user to make that connection?
Hi Brad, I read that you say that the migration will be perfect and that nothing will stop working when using the API, but I am having several problems, all the authentication stopped working, some already solved the problem and others not.
1 - when making calls to the API before I used Authorization bearer with lowercase b and it worked, now it doesnât work, I had to switch to Bearer with uppercase B.
2 - The refresh Token stopped working, I still havenât found why but it gives an error and if I want to do the authentication using the oAuth2 again it also gives me an error,
so it seems that several things stopped working and this migration was not transparent to us
If youâre experiencing an error on refresh, could you post the content of the of the error here? Is it returned from the API itself, or generated by an SDK and if so, which package?