The API URL
Paste this into WWWAND (Settings → Connected Sites) or Devman (Settings → Apps):
https://manage.ofhuntsville.org
As the token, use your API key. To get one:
- Open your private manager link (
https://manage.ofhuntsville.org/owner/…). It was emailed to you when your account was made. Lost it? Get a new one at https://manage.ofhuntsville.org/account/. - Sign in, open the Account tab, and scroll to API key, below Two-factor sign-in.
- Press Make a key. It starts with
ofh_and is shown only once, so copy it then.
Running the whole manager? Press API key in the main manager's header for an admin key (ofh_admin_…). It reaches every site, with no plan limit.
Getting started
Once connected, just talk: "List my ofHuntsville sites", "Make a site called bobsbikes for Bob, who fixes bikes in Huntsville", "How is bobsbikes coming along?", "On bobsbikes, add our phone number 256-555-0100", "Forward bob to bobsbikes.com".
Builds and edits take a minute or two, so they run in the background: ask for progress to hear when they are done.
A key reaches only the subdomains of its own account, within the plan's limit. Replace or remove it any time from Account → API key; the old one stops working at once.
Actions
| Action | Params | Does |
|---|---|---|
listSites | none | Your subdomains and how many the plan allows. |
getSite | name | Title, bio, forward, last update, busy or not. |
createSite | name, title, bio, instructions?, forward?, callback? | Claims a subdomain; AI builds a preview (or it forwards). |
rebuildSite | name, title?, bio?, instructions?, callback? | AI writes a new preview; live stays until publishSite. |
editSite | name, request, callback? | Changes the live site from plain words. |
getProgress | name | State of a build or edit, and its result. |
publishSite | name | Puts the finished preview live, after the user says they like it. |
stopWork | name | Stops a build or edit; the live site stays. |
unpublishSite | name | Takes the subdomain offline; its build is kept as a preview and approved copy. |
setForward | name, url | Redirects the subdomain; empty url turns it off. |
deleteSite | name, confirm | Deletes it forever; confirm repeats the name. |
name is the subdomain: bob for bob.ofhuntsville.org.
callback is an optional public URL. When the build or edit ends we POST {"site","status","url","message"} to it once; status is live, preview-ready, failed or stopped. Without it, ask getProgress.
HTTP details
It follows the WWWAND alpha standard in server mode; Devman uses the same format under /.devman/.
Manifest (public)
GET https://manage.ofhuntsville.org/.wwwand/manifest.jsonGET https://manage.ofhuntsville.org/.devman/manifest.json
Action
curl -X POST https://manage.ofhuntsville.org/.wwwand/action \
-H "Authorization: Bearer ofh_…" \
-H "Content-Type: application/json" \
-d '{"action":"listSites","params":{}}'
X-API-Key: ofh_… works too. Answers are {"success":true,"result":{…},"message":"…"} or {"success":false,"error":"…"}. CORS is open to every origin.