Render
Base URL
https://desktop-api.wbench.io/v1/proxy/render/
Use https://desktop-api.wbench.io/v1/proxy/render/ where Render's documentation uses https://api.render.com/.
It's Render's own API
Everything after the base URL is Render's API, exactly as Render documents it: the same paths, methods, query parameters and JSON bodies. Only the address and the credential change: you send your Workbench token, and Workbench adds your company's Render key on the server. You never see that key.
Notes
- Workbench adds your company's Render API key as a bearer token.
- The connection works once a company admin has added your company's Render key under Company keys.
Examples
Set WB_TOKEN first: export WB_TOKEN=$(wb token).
wb
wb call render 'v1/services?limit=20'
curl
curl "https://desktop-api.wbench.io/v1/proxy/render/v1/services?limit=20" \
-H "Authorization: Bearer $(wb token)"
Python
Render has no official SDK for Python or TypeScript, so these examples use plain HTTP.
import os
import requests
headers = {"Authorization": f"Bearer {os.environ['WB_TOKEN']}"}
r = requests.get("https://desktop-api.wbench.io/v1/proxy/render/v1/services?limit=20", headers=headers, timeout=60)
r.raise_for_status()
print(r.json())
TypeScript
const r = await fetch("https://desktop-api.wbench.io/v1/proxy/render/v1/services?limit=20", {
headers: { Authorization: `Bearer ${process.env.WB_TOKEN}` },
});
if (!r.ok) throw new Error(`${r.status}: ${(await r.json()).message}`);
console.log(await r.json());
See Limits and errors for what a refusal looks like.