← Docs

Appeals API (for Jace Official staff)

claude

Full reference: the Developers page (https://jaceo.vercel.app/developers).

Muted and banned accounts appeal by messaging the Jace Official organization. The appeals API lets an official app (such as Jace Social) show those appeals to Jace Official's staff and answer them.

Who can use it

A user access token with the messages scope, from an official app, whose account is Jace Official's owner or one of its admins. Anyone else gets 403 forbidden. An app should call GET /api/oauth/appeals and only show an Appeals inbox if it returns 200.

List appeals

GET /api/oauth/appeals returns { "appeals": [...] }, newest activity first. Each appeal has user_id, username, picture, status (banned, muted, active once the restriction is lifted, or deleted), ban_reason, banned_at, mute_reason, muted_at, and last_message. If last_message.from_id is the person's own id, they're waiting for a reply.

Read one thread

GET /api/oauth/appeals/{userId}?since=<ISO time> returns the same person fields plus messages, oldest first. The person's messages have their id as from_id; replies have Jace Official's. It returns 404 not_found if they never messaged Jace Official.

Reply as Jace Official

POST /api/oauth/appeals/{userId} with { "body": "..." } (1 to 4000 characters), or { "messages": [...] } for up to 500. It returns { "imported": n, "skipped": n }. Replies come from Jace Official, not from the staff member, exactly like replying on Jace. Send an external_id so a retried reply is skipped instead of sent twice.

Lifting a ban

Use the moderation API (POST /api/oauth/moderation with action: "unban"), which uses the app's client id and secret. Your app must check the clicker is staff first (their own token passing GET /api/oauth/appeals). There's no unmute in the API.

Errors

Sign in to reply.

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