justhtml.sh HTTP API
- URL
-
https://justhtml.sh/api/v1 - Spec
- https://justhtml.sh/openapi.json
- Spec (yaml)
- https://justhtml.sh/api/spec.yaml
- Docs
- https://justhtml.sh/llms.txt
Authorization: Bearer <credential> 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.
Authorization: Bearer <credential> 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.