Full reference: the Developers page (https://jace.company/developers).
Sign in with Jace
Register your app in your profile: Manage account → Developer. It's standard OAuth 2.0 (authorization code): send people to /oauth/authorize, exchange the code at /api/oauth/token, and read /api/oauth/userinfo. Userinfo includes banned and muted, so your app can respect Jace moderation.
Official apps
Apps registered by the site owner are Jace's own and show an Official badge. They:
messages scopeMessages (both directions)
With a token that has the messages scope, an official app can list a person's conversations (GET /api/oauth/messages), read a direct message thread or group chat, and send or import messages as them (POST /api/oauth/messages/dm/{userId} or /groups/{groupId}). Imports can keep each message's original time (created_at), and an external_id stops the same message from being imported twice.
Bans
Server to server, with the official app's client id and secret: POST /api/oauth/moderation with action set to ban, unban, or status, plus user_id or username and an optional reason. A ban covers the whole Jace account and signs it out of every app. Staff accounts can't be banned this way, and every ban is logged with the app that made it.
Sign in to reply.