Bonjour Unbounce API Developers,
We are about to make some changes to our API, as part of our efforts to make Unbounce compliant with the upcoming GDPR regulation. These changes will happen on May 15, 2018, and should only affect a limited number of our API users.
1. Retire the 0.3 version of our API
We made the announcement this would happen back in March 2017. More than a year later, it’s time for us to finally pull the plug on this older version. We believe this will affect less than a handful of people. For them, now is the time to use the current 0.4 version of our API. Here are some pointers to help with the transition.
2. Retire the Sub-Account leads endpoint ( /sub_accounts/{sub_account_id}/leads )
Up until today, our API offered allowed to fetch leads from two separate endpoints. Going forward, we are consolidating this functionality under /pages/{page_id}/leads
Workarounds:
To achieve the same result and fetch your leads for a Client (also called sub-account), you could adapt your API calls to:
- Retrieve a list of pages for a given sub-account;
- then Retrieve the leads iterating over each page rather than the original Sub-Accounts leads endpoint.
Without the API, you can still download leads for a Client with the “Download Your Leads CSV” right from your Client overview page.
3. Lead ids format will change to a uuid
For example:
- Previously
"id" : "1031937993"
- Now
"id" : "d7fa4e57-753d-4811-abc8-ad2f0dc742e1
"
We have still more than a month before those changes, and we can assist for any questions these might raise for you. Please don’t hesitate to ask them down here, so that they benefit the API developer community as a whole!
Thank you everyone,
Arnaud
Attn: @Unbounce-API-Devs @API-Devs