Developers

One Jace account works across Jace Social, Jace Store, Jace Launcher, and the rest. Here's how an app plugs in. Jace is open source on GitHub.

Sign in with Jace

Standard OAuth 2.0 (authorization code). Register your app in your profile's account manager → Developer to get a client_id and client_secret.

Authorize  GET  https://jace.company/oauth/authorize?response_type=code&client_id=…&redirect_uri=…&scope=profile email&state=…
Token      POST https://jace.company/api/oauth/token      (code, redirect_uri, client_id, client_secret)
Userinfo   GET  https://jace.company/api/oauth/userinfo   (Authorization: Bearer <access_token>)

Desktop and mobile apps can't keep a client_secret, so they use PKCE instead: add code_challenge (the base64url SHA-256 of a random code_verifier) and code_challenge_method=S256 to the authorize link, then send code_verifier instead of client_secret to the token endpoint. Redirect to http://127.0.0.1:<port>/… to catch the code on the device. Jace OS signs in this way. Leaving out the secret only works for apps whose redirect URIs are all http://127.0.0.1 or http://localhost addresses; an app with a web redirect URI must always send its client_secret (it can add PKCE on top). A code issued with a code_challenge always needs the matching code_verifier, and the code is used up even if the verifier is wrong.

Userinfo returns sub, username (the unique handle), name (what to show: the display name, or the username if there isn't one), display_name (or null), picture, banned, muted, email with the email scope, and, for official apps only, is_admin (whether the person is a Jace site admin). Scopes: profile (always), email, scores, videos, and messages (official apps only).

When the permission screen shows

Other apps always show /oauth/authorize's permission screen. Jace's own (official) apps skip it: someone signed in to Jace is sent straight back with a code, unless they switched that app off under Manage account → Connected apps, or you pass prompt=consent (or select_account/login) to show it anyway. With prompt=none, an official app gets a code silently or login_required/consent_required. Token exchange stays turned off (400 interaction_required).

Checking a token (introspection)

If a desktop app hands your server an access token, check it was really issued to your app before trusting it (OAuth 2.0 Token Introspection, RFC 7662). Authenticate with your own client_id and client_secret.

POST https://jace.company/api/oauth/introspect     (HTTP Basic client_id:client_secret, or both in the body)
token=<access token>
→ { active: true, client_id, sub, scope, exp }      for your app's own valid tokens
→ { active: false }                                  for anything else

sub is the Jace user id and exp is when the token expires (Unix seconds). Tokens issued to other apps, expired tokens, and tokens of banned accounts all come back as just { "active": false }.

Official apps

Apps registered by the site owner are Jace's own, marked Official. They can ask for the messages and sync scopes and use the moderation API. Like every app, they always get the consent screen: it shows which Jace account is signing in (with a way to switch accounts) and everything the app is asking for. People can disconnect any app under Connected apps.

Silent sign-in (prompt=none)

Add prompt=none to the authorize URL to sign someone in without showing any page: you get a code back if they can be signed in right away, or error=login_required / error=consent_required if they'd have to do something. People using Jace Browser are signed in to Jace's own (official) apps this way automatically, so an official app can try prompt=none on page load and skip its sign-in button entirely.

Cloud sync (Jace Browser and Jace OS)

Jace Browser signs in with PKCE (client_id 00000000-0000-0000-0000-000000000003) and asks for the official-only sync scope. It encrypts each collection on the device (AES-256-GCM, key derived from the person's sync passphrase) before upload, so Jace only stores ciphertext. Jace OS uses the same API for its own collections, prefixed os-.

GET    https://jace.company/api/oauth/sync                → { collections, records: [{ collection, version, updated_by, updated_at }] }
GET    https://jace.company/api/oauth/sync/{collection}   → { collection, payload, version, updated_by, updated_at }
PUT    https://jace.company/api/oauth/sync/{collection}   If-Match: "<version>"  { payload, device }
                                             → { version, updated_at }  or 412 { version } on a conflict
DELETE https://jace.company/api/oauth/sync/{collection}
DELETE https://jace.company/api/oauth/sync               → { deleted, collections }  (only the calling app's own collections)

collections: keys, bookmarks, history, passwords, cookies, tabs, prefs, addons (Jace Browser)
             os-keys, os-look, os-wallpaper, os-desktop, os-apps, os-files (Jace OS)

Email people (official apps)

Jace's own apps can email their users from Jace's address. Send a person's access token (any official app, including Jace OS) to email that person, or your app's client_id/client_secret with a user_id to email anyone who has signed in to your app. The message is plain text in Jace's email template, labeled with your app's name. People can turn these emails off. At most 20 per person and 2,000 per app per day. Add an optional theme to use your app's own colors and logo (it still says "via Jace" and who sent it).

POST https://jace.company/api/oauth/email
Authorization: Bearer <access token>        (or Basic client_id:client_secret, plus "user_id")
{ "subject": "…", "message": "plain text, blank lines between paragraphs",
  "heading"?: "…", "button_label"?: "…", "button_url"?: "https://…",
  "theme"?: { "background"?, "card"?, "line"?, "text"?, "muted"?, "accent"?, "on_accent"?: "#rrggbb",
              "logo_url"?: "https://…", "home_url"?: "https://…" } }
→ { "sent": true }  or  { "sent": false, "reason": "no_email" | "turned_off" }
  errors: 400 invalid_request, 401 invalid_token/invalid_client, 403 unauthorized_client,
          404 not_found (never signed in to your app), 429 rate_limited, 502 send_failed

File sync (Jace OS)

Jace OS syncs whole files with the same official-only sync scope. It encrypts each file on the device first, then uploads and downloads it straight to private storage (Backblaze B2) with presigned URLs that last 15 minutes, so Jace never sees the contents. A file id is 64 lowercase hex characters chosen by the app; each file is at most 9 MB, and each account has a storage quota (1 GB by default).

GET    https://jace.company/api/oauth/files               → { used, quota, files: [{ id, size, created_at }] }   (created_at in unix seconds)
POST   https://jace.company/api/oauth/files/upload        { id, size }
                                             → { exists: true }  or  { url, headers }  (PUT the bytes there with those headers)
                                             413 { error: "quota_exceeded", error_description } if it won't fit
POST   https://jace.company/api/oauth/files/{id}/done     after the PUT: records the stored size → { id, size }
GET    https://jace.company/api/oauth/files/{id}          → { url }  (presigned download)
DELETE https://jace.company/api/oauth/files/{id}          → { deleted }

Messages (both directions)

With a user's access token that has the messages scope, an official app can read that person's direct messages and group chats and send messages as them, for example to bring their Jace conversations into Jace Social or keep the two in sync.

GET  https://jace.company/api/oauth/messages
     → { direct: [{ user_id, username, last_message }], groups: [{ id, name, member_ids }] }

GET  https://jace.company/api/oauth/messages/dm/{userId}?since=2026-10-01T00:00:00Z
POST https://jace.company/api/oauth/messages/dm/{userId}
GET  https://jace.company/api/oauth/messages/groups/{groupId}?since=…
POST https://jace.company/api/oauth/messages/groups/{groupId}

POST one message as { "body": "hi" }, or import up to 500 at once as { "messages": [{ "body", "created_at", "external_id" }] }. created_at keeps an imported message's original time, and external_id (your app's own message id) makes re-sending the same message a no-op, so syncing never duplicates. The response is { "imported": n, "skipped": n }. Muted and banned accounts can't send.

Profile

An official app can change the signed-in person's Jace username and profile picture, for example so a new handle or avatar in Jace Social shows up on Jace too. Any token works (they all have the profile scope); other apps get 403 insufficient_scope.

POST https://jace.company/api/oauth/profile
{ "username": "new_name", "picture": "https://…/avatar.png" }      (both optional; "picture": null removes it)
     → the userinfo body: { sub, username, name, picture, banned, muted, is_admin, … }

A username is 3-20 letters, numbers, or underscores, the same as in account settings; sending the current one changes nothing. The picture must be a public https URL of a PNG, JPEG, GIF (animated is fine), or WebP image, 4MB or smaller, reachable without redirects; Jace downloads it and keeps its own copy, so picture in the response is a Jace URL. Nothing is saved unless the whole request is valid. Errors: 400 invalid_request (with an error_description), 409 username_taken, 401 invalid_token, 403 account_banned, and 403 account_muted.

Profile webhooks. To keep a picture or username in step the other way, an official app can set a Profile webhook URL (Manage account → Developer). Whenever someone who has signed in to the app changes their Jace picture, username, or display name (on Jace, or through this endpoint), Jace POSTs:

{ "type": "user.updated", "user_id": "<Jace user id>", "changed": ["picture" | "username" | "display_name"], "sent_at": "<ISO time>" }

The request isn't signed, so don't trust it: re-read the person from Jace (GET https://jace.company/api/users/{user_id}, public, or userinfo with their token) and update only if something actually changed. Answer quickly with any 2xx; Jace waits 5 seconds and doesn't retry. Pictures you send through this endpoint come back as Jace's own copy (a different URL); sending Jace its own current URL is a no-op, so syncing can't loop.

Appeals

Muted and banned accounts appeal by messaging the Jace Official organization. With a messages token belonging to Jace Official's owner or one of its admins, an official app can list those appeals, read each thread with the person's current ban or mute status, and reply as Jace Official. Anyone else gets 403 forbidden. To lift a ban, use the moderation API below.

GET  https://jace.company/api/oauth/appeals
     → { appeals: [{ user_id, username, picture, status, ban_reason, banned_at,
                     mute_reason, muted_at, last_message }] }        (newest activity first)

GET  https://jace.company/api/oauth/appeals/{userId}?since=…
     → { user_id, username, picture, status, …, messages: [{ id, from_id, from_name, to_id, body, created_at }] }

POST https://jace.company/api/oauth/appeals/{userId}                             (reply as Jace Official)
     { "body": "…" }  or  { "messages": [{ "body", "created_at", "external_id" }] }
     → { "imported": n, "skipped": n }

status is banned, muted, active (the restriction was lifted), or deleted. In a thread, messages from the person have their own from_id; replies have Jace Official's.

Scores

With the scores scope, any app the person approves can read their game scores and the leaderboards; only official apps can save scores. A player's scores include the Snake and Memory Match scores from the old Jace site. Game ids are lowercase letters, numbers, and dashes (up to 32), and any id works, so a new game needs no setup on Jace.

GET  https://jace.company/api/oauth/scores?game=snake
     → { scores: [{ id, game, score, created_at }] }          (yours, newest first; game is optional)

GET  https://jace.company/api/oauth/leaderboard?game=snake&order=desc&limit=50
     → { scores: [{ user_id, username, picture, score, created_at }] }

POST https://jace.company/api/oauth/scores                                    (official apps only)
     { "game": "snake", "score": 42 }
  or { "scores": [{ "game", "score", "created_at", "external_id" }] }
     → { "imported": n, "skipped": n }

The leaderboard is each player's best score, with their current username and avatar, and leaves out banned accounts. Use order=asc for games where lower is better; limit is 50 by default and at most 100. A score is a whole number, 0 or more. Send up to 500 per request; created_at is optional and can't be in the future, and a score whose external_id your app already sent is skipped instead of saved twice.

Errors are JSON: 401 invalid_token for a missing, invalid, or expired token; 403 insufficient_scope when the token lacks scores or a non-official app tries to save; 403 account_banned for a banned account; and 400 invalid_request for a bad request.

Videos

Videos now live in JaceTube, on top of this API, and include every video uploaded on the old Jace site. Public videos can be read with a user token that has the videos scope, or with just your app's client credentials (HTTP Basic) for people who haven't signed in. Uploading, editing, liking, and commenting need a user token from an official app.

GET    https://jace.company/api/oauth/videos?q=&user_id=&before=&limit=24
       → { videos: [{ id, title, description, url, thumbnail_url, content_type, size, visibility,
                      owner_id, owner_type, owner_name, owner_picture, likes, comment_count, created_at }],
           next_before }                                       (public only, newest first)
GET    https://jace.company/api/oauth/videos/mine                            (the user's own, every visibility)
GET    https://jace.company/api/oauth/videos/{id}                            → { video: { …, liked_by_me, can_manage, comments } }

POST   https://jace.company/api/oauth/videos/uploads                         (official apps)
       { "kind": "video" | "thumbnail", "filename", "content_type", "size" }
       → { path, upload_url, method: "PUT", headers, public_url }
POST   https://jace.company/api/oauth/videos
       { "path", "title", "description"?, "visibility"?, "thumbnail_path"?, "created_at"?, "external_id"? }
       → { video, created }
PATCH  https://jace.company/api/oauth/videos/{id}      { title?, description?, visibility?, thumbnail_path? }
DELETE https://jace.company/api/oauth/videos/{id}
POST   https://jace.company/api/oauth/videos/{id}/likes      (DELETE to unlike)
POST   https://jace.company/api/oauth/videos/{id}/comments   { "body": "…" }

To upload, ask for an upload URL, then send the file from the browser straight to upload_url as multipart form data (one field named "") with the returned headers, then create the video with the path. Jace picks the path inside the user's own folder and checks the file is there. visibility is public (the default), unlisted, or private. For imports, created_at keeps the original date and external_id (your id, such as a YouTube video id) makes sending the same video again return the existing one with created: false.

Moderation

Server to server, with the official app's client credentials (HTTP Basic or client_id/client_secret in the body). Bans apply to the whole Jace account: the person can't sign in to Jace, and every app's access token for them stops working. Staff accounts can't be banned this way, and every ban and unban is logged with the app that made it.

POST https://jace.company/api/oauth/moderation
{ "action": "ban" | "unban" | "status", "user_id": "…" (or "username": "…"), "reason": "…",
  "duration_minutes": 1440 (omit for permanent), "appealable": true, "can_sign_out": true }
→ { user_id, username, banned, ban_reason, banned_at, ban_until, ban_appealable, muted }

Auto moderation. Text sent through these APIs (messages, video titles, descriptions, and comments, usernames) goes through Jace's auto moderation. A blocked request gets 400 invalid_request with an error_description saying why, and nothing in it is saved.

By using this site, you agree to the Terms of Service and Privacy Policy.