J

justhtml.sh

justhtml.sh is an HTML document hosting service that lets users and agents publish, share, edit, and discuss HTML documents at stable URLs. Documents can be private, shared via grants or view tokens, or made public.

1 integration · REST

justhtml.sh exposes one authenticated HTTP API at `https://justhtml.sh/api/v1`, documented by OpenAPI (`https://justhtml.sh/openapi.json` and YAML alternate) and secured with a long-lived Bearer API key obtained through its email code agent-auth flow.

discovered 2mo ago
REST · OpenAPI1
Credentials
justhtml.sh API keyapi_keyGet key ↗

Follow the agent authentication flow: first check for an existing key in JUSTHTML_API_KEY, a local .env (if permitted), or ~/.justhtml/credentials; if none works, ask for consent, POST to auth.md's identity endpoint (/agent/identity) with the human's email, have the human read back the emailed 6-digit code, submit it to /agent/identity/claim/complete, then poll the token endpoint until it returns the long-lived jh_live_... key. Store it securely and send it as a Bearer token. If the code expires, re-mint via /agent/identity/claim; revoke via POST form data to https://justhtml.sh/oauth2/revoke.

justhtml.sh API keyapi_keyGet key ↗

Follow the agent authentication flow: register the human's email, have them read back the emailed 6-digit code, complete the claim, then poll the token endpoint for the long-lived jh_live_… key. Store it securely (the examples use JUSTHTML_API_KEY) and send it as a Bearer token.

conventions · 5/8 published

Publish these signals → /publishing