LaunchFor developers

An API for your website's files. Use your own scripts and tools.

Upload, organize, and remove the photos and PDFs of your website from your own scripts and tools. Make a personal API key in your dashboard. The dashboard uses the same API.

  • 01

    A key for each tool.

    Give each script its own key, with read-only or read-and-write access. Revoke one key and keep the others.

  • 02

    Access that follows yours.

    A key works only on the websites that you own or edit, and only while you have that access.

  • 03

    Photos come out ready.

    Send a JPG, a PNG, or a WebP. Webrenew stores each photo as WebP, at a size that loads fast.

  • 04

    Errors that programs can read.

    Each error is JSON. It has a message for people and a code for programs.

How it works

Three steps to your first call.

  1. 01

    Create a key.

    Open Settings in your dashboard, then API keys. Choose the access, the websites, and when the key expires.

  2. 02

    Send the key.

    Put the key in the Authorization header of each call.

  3. 03

    Manage your files.

    List, upload, change, and delete files. Folders are the first part of a file's key, such as photos/.

List the files of a website
export WEBRENEW_API_KEY="wr_…"
export SITE_ID="your-site-id"

curl -H "Authorization: Bearer $WEBRENEW_API_KEY" \
  "https://webrenew.com/api/builder/sites/$SITE_ID/storage/objects"

The details

The limits.

Reads
1,200 requests an hour for each key.
Writes
600 requests an hour for each key.
Keys
20 active keys for each person. Webrenew shows a key one time and keeps only a hash of it.
Files
JPG, PNG, WebP, or PDF. A file can be up to 25 MB. You cannot upload video.
Storage
Uploads count toward the storage of the website's owner. At the limit, uploads stop. Webrenew deletes nothing.

Questions

Before you start.

  • What can the API do?

    It manages the files of a website: photos and PDFs. It does not change pages or read leads.

  • Who can make a key?

    Each person makes personal keys in Settings. A key acts as that person, on the websites that the person owns or edits.

  • How do I stop a key?

    Select Revoke in Settings. The key stops working at once.

  • Where do I keep a key?

    On your server or in your script's settings. Keep keys out of browser code and public repositories.

Start with one sentence about your business.

Launch does the rest. You approve every page before it goes live.