Skip to main content
Question

403 error when requesting API with API key


Forum|alt.badge.img

Hi, 

I'm trying to set up a lead data export to my external database via the API.

I've generated an API key for the account but as soon as I try to list an entity (I started with the pages), I get a 403 error. 

I don't understand where I can set the permissions for the API in my account. And what's strange is that the documentation lists permissions, and pages and leads are among them. 

Unbounce API Authorization

Could someone help me unblock this?

Cheers,

Alexis

6 replies

Md_Mahinur_Khan
Forum|alt.badge.img+1

Hey @Alexis Blanco!

Yes, i can help and check them inside. 

Feel free to reach out to me via email at mdmahinurkhan9@gmail.com or WhatsApp at +8801706000034

Thanks


Forum|alt.badge.img

Thanks for your reply @Md_Mahinur_Khan.

But i finally managed to resolve this problem with Unbounce support. 

I forgot to close the ticket, sorry.

Cheers


Hello, I am having the same exact problem and Unbounce support has no idea what I’m talking about. I have 35 pages in the GUI and tens of thousands of leads. But when I use the API with an API key, it shows zero pages and zero leads.


Md_Mahinur_Khan
Forum|alt.badge.img+1

@frishmanmj, Where it shows 0 pages and 0 leads?


@Md_Mahinur_Khan In Postman, using the https://api.unbounce.com/pages it shows a count of zero. I then try the leads API using a page ID I got from the GUI, and it says 403 Forbidden.


adamfinch
  • 5 replies
  • January 23, 2025
Alexis Blanco wrote:

Hi, 

I'm trying to set up a lead data export to my external database via the API.

I've generated an API key for the account but as soon as I try to list an entity (I started with the pages), I get a 403 error. 

I don't understand where I can set the permissions for the API in my account. And what's strange is that the documentation lists permissions, and pages and leads are among them. 

Unbounce API Authorization

Could someone help me unblock this?

Cheers,

Alexis

A 403 error typically means there is an issue with authorization or permissions. Please make sure that the API key you are using has the correct access rights for the actions you are attempting. Double-check that the API key is associated with the correct account and that your account has permissions enabled for the entity you are trying to access.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings