Discourse · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Discourse API Documentation Users API
26 actions
26 updates
phrasing
extends
openapi/discourse-users-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Discourse's API. It is a proposal applied on top of the contract, not a document Discourse publishes.
What the actions change
x-apievangelist-phrasing
Targets 26 · first 16 shown; the file carries all of them
$.info
$.paths['/user-badges/{username}.json'].get
$.paths['/users.json'].post
$.paths['/u/{username}.json'].get
$.paths['/u/{username}.json'].put
$.paths['/u/by-external/{external_id}.json'].get
$.paths['/u/by-external/{provider}/{external_id}.json'].get
$.paths['/u/{username}/preferences/avatar/pick.json'].put
$.paths['/u/{username}/preferences/email.json'].put
$.paths['/u/{username}/preferences/username.json'].put
$.paths['/directory_items.json'].get
$.paths['/admin/users/{id}.json'].get
$.paths['/admin/users/{id}.json'].delete
$.paths['/admin/users/{id}/activate.json'].put
$.paths['/admin/users/{id}/deactivate.json'].put
$.paths['/admin/users/{id}/suspend.json'].put
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Discourse API Documentation Users API
version: 1.0.0
extends: openapi/discourse-users-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 25
- target: $.paths['/user-badges/{username}.json'].get
update:
x-apievangelist-phrasing:
intent: List the badges a user has earned
effect: read
questions:
- What badges has a particular user earned on the forum?
- Can I see a member's badges by their username?
instructions:
- text: List the badges for user {username}.
slots:
username: path.username
- text: Show the earned badges of {username}.
slots:
username: path.username
method: generated
generated: '2026-11-18'
- target: $.paths['/users.json'].post
update:
x-apievangelist-phrasing:
intent: Create a new user account
effect: write
questions:
- How do I create a new user account through the API?
- Can I set a user's external ID when creating them?
instructions:
- text: Create a user {username} with name {name}, email {email} and password {password}.
slots:
username: requestBody.username
name: requestBody.name
email: requestBody.email
password: requestBody.password
- text: Add a new member {username} named {name} with email {email} and password {password}.
slots:
username: requestBody.username
name: requestBody.name
email: requestBody.email
password: requestBody.password
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}.json'].get
update:
x-apievangelist-phrasing:
intent: Get a user's profile
effect: read
questions:
- What profile information is stored for a user?
- Can I fetch one member's details by username?
instructions:
- text: Get the profile of user {username}.
slots:
username: path.username
- text: Show me the details of {username}.
slots:
username: path.username
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}.json'].put
update:
x-apievangelist-phrasing:
intent: Update a user's profile
effect: write
questions:
- How do I change a user's name or external ID?
- Can I update a member's profile fields?
instructions:
- text: Update user {username} with name {name}.
slots:
username: path.username
name: requestBody.name
- text: Set the external ID of {username} to {external_ids}.
slots:
username: path.username
external_ids: requestBody.external_ids
method: generated
generated: '2026-11-18'
- target: $.paths['/u/by-external/{external_id}.json'].get
update:
x-apievangelist-phrasing:
intent: Find a user by external ID
effect: read
questions:
- How do I look up a user when I only have their external ID?
- Can I find a member by an external ID I stored?
instructions:
- text: Find the user with external ID {external_id}.
slots:
external_id: path.external_id
- text: Look up the member whose external ID is {external_id}.
slots:
external_id: path.external_id
method: generated
generated: '2026-11-18'
- target: $.paths['/u/by-external/{provider}/{external_id}.json'].get
update:
x-apievangelist-phrasing:
intent: Look up a user by external ID
effect: read
questions:
- Can I find a user from my identity provider's external ID?
- What does a user's external ID lookup return?
instructions:
- text: Find the user whose {provider} external ID is {external_id}.
slots:
provider: path.provider
external_id: path.external_id
- text: Look up user {external_id} from identity provider {provider}.
slots:
external_id: path.external_id
provider: path.provider
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}/preferences/avatar/pick.json'].put
update:
x-apievangelist-phrasing:
intent: Set a user's avatar from an upload
effect: write
questions:
- How do I set a user's profile picture from an uploaded image?
- Can I choose the avatar type when setting it?
instructions:
- text: Set {username}'s avatar to upload {upload_id} of type {type}.
slots:
username: path.username
upload_id: requestBody.upload_id
type: requestBody.type
- text: Use upload {upload_id} as {username}'s avatar with type {type}.
slots:
upload_id: requestBody.upload_id
username: path.username
type: requestBody.type
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}/preferences/email.json'].put
update:
x-apievangelist-phrasing:
intent: Change a user's email address
effect: write
questions:
- How do I change a member's email address?
- Can I update a user's email through the API?
instructions:
- text: Change {username}'s email to {email}.
slots:
username: path.username
email: requestBody.email
- text: Set the email of {username} to {email}.
slots:
username: path.username
email: requestBody.email
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}/preferences/username.json'].put
update:
x-apievangelist-phrasing:
intent: Change a user's username
effect: write
questions:
- How do I rename a member's username?
- Can I change a user's username through the API?
instructions:
- text: Rename {username} to {new_username}.
slots:
username: path.username
new_username: requestBody.new_username
- text: Change the username of {username} to {new_username}.
slots:
username: path.username
new_username: requestBody.new_username
method: generated
generated: '2026-11-18'
- target: $.paths['/directory_items.json'].get
update:
x-apievangelist-phrasing:
intent: List public users
effect: read
questions:
- Who are the most active users on the forum right now?
- Can I get a public list of members ordered by activity?
instructions:
- text: List the top {order} public users over the {period}.
slots:
order: query.order
period: query.period
- text: Show public users ordered by {order} for {period}, {asc} ascending.
slots:
order: query.order
period: query.period
asc: query.asc
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}.json'].get
update:
x-apievangelist-phrasing:
intent: Get a user by admin ID
effect: read
questions:
- How do I look up a user's account by their admin ID?
- Can I fetch a member's account details using the admin user ID?
instructions:
- text: Get user {id} using the admin API.
slots:
id: path.id
- text: Show admin details for user {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}.json'].delete
update:
x-apievangelist-phrasing:
intent: Delete a user account
effect: destructive
questions:
- How do I permanently delete a user account?
- Can I delete a member's posts along with their account?
instructions:
- text: Delete user {id}.
slots:
id: path.id
- text: Delete user {id} and set delete_posts to {delete_posts}.
slots:
id: path.id
delete_posts: requestBody.delete_posts
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/activate.json'].put
update:
x-apievangelist-phrasing:
intent: Activate a deactivated user
effect: write
questions:
- How do I reactivate a user who was deactivated?
- Can I bring a deactivated member back online?
instructions:
- text: Activate user {id}.
slots:
id: path.id
- text: Reactivate the deactivated account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/deactivate.json'].put
update:
x-apievangelist-phrasing:
intent: Deactivate a user account
effect: write
questions:
- How do I deactivate a user account?
- Can I temporarily disable a member without deleting them?
instructions:
- text: Deactivate user {id}.
slots:
id: path.id
- text: Disable the account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/suspend.json'].put
update:
x-apievangelist-phrasing:
intent: Suspend a user for a period
effect: write
questions:
- How do I suspend a user for a set time?
- Can I suspend a member with a reason and a message?
instructions:
- text: Suspend user {id} until {suspend_until} because {reason}.
slots:
id: path.id
suspend_until: requestBody.suspend_until
reason: requestBody.reason
- text: Suspend {id} until {suspend_until} with reason {reason} and message {message}.
slots:
id: path.id
suspend_until: requestBody.suspend_until
reason: requestBody.reason
message: requestBody.message
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/silence.json'].put
update:
x-apievangelist-phrasing:
intent: Silence a user
effect: write
questions:
- How do I silence a user so they can't post?
- Can I silence a member for a set time?
instructions:
- text: Silence user {id} until {silenced_till} because {reason}.
slots:
id: path.id
silenced_till: requestBody.silenced_till
reason: requestBody.reason
- text: Silence {id} until {silenced_till} with reason {reason} and message {message}.
slots:
id: path.id
silenced_till: requestBody.silenced_till
reason: requestBody.reason
message: requestBody.message
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/anonymize.json'].put
update:
x-apievangelist-phrasing:
intent: Anonymize a user's account
effect: write
questions:
- How do I anonymize a user's account?
- Can I scrub a member's personal data while keeping their posts?
instructions:
- text: Anonymize user {id}.
slots:
id: path.id
- text: Anonymize the account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/log_out.json'].post
update:
x-apievangelist-phrasing:
intent: Log a user out of all sessions
effect: write
questions:
- How do I force a user to log out everywhere?
- Can I revoke all of a member's sessions?
instructions:
- text: Log out user {id}.
slots:
id: path.id
- text: Force {id} to log out of every session.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/user_avatar/{username}/refresh_gravatar.json'].post
update:
x-apievangelist-phrasing:
intent: Refresh a user's gravatar
effect: write
questions:
- How do I force Discourse to reload a user's gravatar?
- Can I refresh a member's profile picture from Gravatar?
instructions:
- text: Refresh the gravatar for {username}.
slots:
username: path.username
- text: Reload {username}'s profile picture from Gravatar.
slots:
username: path.username
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users.json'].get
update:
x-apievangelist-phrasing:
intent: List all users
effect: read
questions:
- Who are all the users on the forum?
- Can I list every member, including their email?
instructions:
- text: List all users.
- text: List users with email {email}.
slots:
email: query.email
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/list/{flag}.json'].get
update:
x-apievangelist-phrasing:
intent: List users flagged in moderation
effect: read
questions:
- Which users have been flagged for review?
- Can I list users by a specific flag like spam or suspension?
instructions:
- text: List users flagged {flag}.
slots:
flag: path.flag
- text: Show {flag} users ordered by {order}.
slots:
flag: path.flag
order: query.order
method: generated
generated: '2026-11-18'
- target: $.paths['/user_actions.json'].get
update:
x-apievangelist-phrasing:
intent: List a user's actions
effect: read
questions:
- What has a particular user done on the site?
- Can I see the actions a user took, like posting or liking?
instructions:
- text: List {filter} actions for {username}.
slots:
filter: query.filter
username: query.username
- text: Show {username}'s {filter} actions from offset {offset}.
slots:
username: query.username
filter: query.filter
offset: query.offset
method: generated
generated: '2026-11-18'
- target: $.paths['/session/forgot_password.json'].post
update:
x-apievangelist-phrasing:
intent: Send a password reset email
effect: write
questions:
- How do I send a password reset link to a user?
- Can I trigger a password reset email for a forgotten password?
instructions:
- text: Send a password reset email to {login}.
slots:
login: requestBody.login
- text: Email a reset link to {login} for a forgotten password.
slots:
login: requestBody.login
method: generated
generated: '2026-11-18'
- target: $.paths['/users/password-reset/{token}.json'].put
update:
x-apievangelist-phrasing:
intent: Change a user's password with a reset token
effect: write
questions:
- How do I set a new password using a reset token?
- Can I change a user's password once they've requested a reset?
instructions:
- text: Change {username}'s password to {password} using reset token {token}.
slots:
username: path.token
password: requestBody.password
token: path.token
- text: Set new password {password} for {username} with token {token}.
slots:
password: requestBody.password
username: path.token
token: path.token
method: generated
generated: '2026-11-18'
- target: $.paths['/u/{username}/emails.json'].get
update:
x-apievangelist-phrasing:
intent: List a user's email addresses
effect: read
questions:
- What email addresses belong to a user?
- Can I see all the emails a user has on their account?
instructions:
- text: List email addresses for {username}.
slots:
username: path.username
- text: Show the emails on {username}'s account.
slots:
username: path.username
method: generated
generated: '2026-11-18'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discourse-users-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.