Jump to content

Get Portfolio Projects via API

Recommended Posts

Posted

Dear Community/Forum of Squarespace

My question is, if there is a possibility that a owner of a squarespace domain can get the projects that were created in a portfolio.

I was about to generate a developer key for that, but in the permissions there wasnt an option for "projects" or "portfolios" available. I also researched for that feature on google but couldnt find anything.

 

  • Replies 3
  • Views 700
  • Created
  • Last Reply
Posted
On 5/20/2021 at 11:12 PM, MikeZyeman said:

Dear Community/Forum of Squarespace

My question is, if there is a possibility that a owner of a squarespace domain can get the projects that were created in a portfolio.

I was about to generate a developer key for that, but in the permissions there wasnt an option for "projects" or "portfolios" available. I also researched for that feature on google but couldnt find anything.

 

You can get them using ?pretty-json format, api only used for commerse purpose

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Hello @MikeZyeman,

Thanks for posting your question!

The Developer API keys won't allow you to retrieve that type of content from your site. You can indeed append ?format=json-pretty at the end of the page URL to retrieve JSON data from that page, but it should not be used as an API endpoint as it wasn't designed for that purpose.

If you have additional questions, feel free to leave a comment.

Build together: Together, we make up a community of Squarespace professionals. Lean on your fellow community members for support and welcome diverse perspectives. 
Work in progress: Trust that we are all working for the collective good of Circle members and their clients. 
Keep it light mode: Balance productivity with joyful creativity and curiosity.

  • 2 weeks later...
Posted

Well either way I would like to access my portfolio page as an API, even if that means that I have to append a ?format and get the data from there.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.