API connector with Contentful

Hey everyone. Been building on Bubble for the past month or so and I’ve learned a lot. I’ve been working on a web app, and I initially built a barebones CMS and while it worked for the most part, it was a hassle in certain aspects. Then I came across @NigelG 's suggestion of Contentful. After reading up on it, I found that it was what I was looking for.

I created the necessary content types and fields etc. However, I tried to set up the API and I thought it worked, but I’ve been unable to retrieve data the way I should. I’m mostly certain that the issue isn’t from my attempts to get the data, as much as it is my lack of experience with setting up APIs. I know a bit and can usually get by if the documentation is great, but I can’t seem to get very far with Contentful’s.

Does anyone have a guide I could use to set up the API Connector with Contentful’s API?

Not sure about a “guide” but I can share my API setups for Contentful with you.

It covers quite a few scenarios.

1 Like

Thank you very much. That would be great!

Hi there,

I have created a page with some APIs to Contentul. It links to the blog post examples, so you can see how the data is strucutured.


Contentful takes a bit of getting used to in terms of the way that searches work, particularly with linked content types.

The bits in yellow are the keys areas …

There is the “spaceid” which is top one, that is your “project”.

There is the API token.

And finally is the content type. That is the id of the “post” content type.

So that API call gets all POST content types.

Also in the example are getting assets (so images etc) and getting the names of the blog post authors.


Thank you for posting this! Will try it out.

Hi @NigelG

May I ask you your thoughts on Contentful as a content management system for Bubble so far? What was your reason behind using Contentful? Do you ever have to make database tables in Bubbles after adopting Contentful?