Jump to content

Get Portfolio Projects via API

Recommended Posts

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.

 

Link to comment
  • Replies 3
  • Views 620
  • Created
  • Last Reply
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.

Link to comment
  • 2 weeks later...

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.