Dev.to API questions

nestedsoftware profile image Nested Software ・1 min read

I'm writing some scripts to help me manage my dev.to articles. I was wondering how to do the following things using an API (if possible):

  • Post a new article (by sending a markdown file)
  • Update an existing article
  • Submit an image and get back a URL to that image


Editor guide
ben profile image
Ben Halpern

Check out the docs if you haven't yet...


The first two are currently supported, the third point is not. Since any URL submitted will be wrapped by our CDN before being used, you can use a third party API to turn a local image into a usable URL for within DEV posts.

nestedsoftware profile image
Nested Software Author

Thanks very much, this is great! I didn't know about the api docs!