Back to blog

New REST API Docs and NPM Module 🎉

Tony Spiro's avatar

Tony Spiro

January 17, 2018

cover image

We are excited to announce that we have completely rebuilt both our REST API docs and NPM module from the ground up.   This comes after weeks of development and gathering feedback from the Cosmic Community.  Thank you to everyone who helped us with this big release!


Our new REST API docs now live at  The new design makes it a lot easier to find what you need, allowing you to toggle between bash and JavaScript code (more languages coming soon!).  We've also added more detail for powerful features such as Metafields, Webhooks and Extensions.

New NPM Module

Our new NPM module can be found at  It has been bumped to version 3.0 and features new Promise-based methods:


Add Bucket

Add Object

Get Objects

Add Media

View more methods available with the updated NPM module.

It is our goal to help teams build apps faster, and with these updates, we are happy to provide teams even more powerful tools for an even better developer experience.

Photo by Carl Cerstrand on Unsplash