# CodePen Read/Write API

Canonical: https://brew.new/templates/codepen/codepen-read-write-api

Brand: codepen.io
Category: general

![Preview of CodePen Read/Write API](https://cdn.brew.new/email-preview-a3b34a7f35cde5ba-tracking_r57wamr6sv0stj27nc9az80dg98fvma9-1791926573789.png)

## Email content

A Complete Read/Write API for CodePen

🔌 Brand new! The CodePen API v2 lets you read and write your CodePen Pens, Collections, and Assets from your own tools: scripts, build processes, CI jobs, editors, and AI agents.

It's available in either GraphQL or REST and available to all CodePen members, including free. Here's some ideas:

📈 Pull down some of your most popular Pens, use your favorite agent to improve them while working locally, and push them back up.

📝 Add your latest Pens to your blog or portfolio, like Raymond Camden did.

🔄 Keep demo code in your documentation in sync with live Pens.

🛠️ Build a tool that allows you to quickly create a new Pen from your favorite local editor while you're experimenting.

{

"signoff": "Your Pals,",

"team": "CodePen"

}

CodePen, Inc. · 70 SW Century Dr #1019 Bend OR 97702

Unsubscribe

[Open and remix this design](https://brew.new/templates/codepen/codepen-read-write-api)

[Browse email designs](https://brew.new/browse/templates)
