Mattermost · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Mattermost REST Users API

12 actions 12 updates phrasing extends openapi/mattermost-users-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Mattermost's API. It is a proposal applied on top of the contract, not a document Mattermost publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 12

$.info
$.paths['/users/login'].post
$.paths['/users/logout'].post
$.paths['/users'].get
$.paths['/users'].post
$.paths['/users/{user_id}'].get
$.paths['/users/{user_id}'].put
$.paths['/users/{user_id}'].delete
$.paths['/users/{user_id}/patch'].put
$.paths['/users/search'].post
$.paths['/users/autocomplete'].get
$.paths['/users/{user_id}/sessions'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Mattermost REST Users API
  version: 1.0.0
extends: openapi/mattermost-users-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 11
- target: $.paths['/users/login'].post
  update:
    x-apievangelist-phrasing:
      intent: Log in to Mattermost
      effect: write
      questions:
      - How do I log in to Mattermost with a username and password?
      - Can I log in with a personal access token instead of a password?
      instructions:
      - text: Log in to Mattermost as {login_id} with password {password}.
        slots:
          login_id: requestBody.login_id
          password: requestBody.password
      - text: Log in to Mattermost using personal access token {token}.
        slots:
          token: requestBody.token
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/logout'].post
  update:
    x-apievangelist-phrasing:
      intent: End my Mattermost session
      effect: destructive
      questions:
      - How do I log myself out of Mattermost?
      - Can I end a session on another device?
      instructions:
      - text: End my current Mattermost session.
      - text: Log me out of Mattermost.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List Mattermost users
      effect: read
      questions:
      - Which users are on my Mattermost server?
      - Can I list only the users on a particular team?
      instructions:
      - text: List all users on the server.
      - text: List users on team {in_team}.
        slots:
          in_team: query.in_team
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a user
      effect: write
      questions:
      - How do I create a new user on Mattermost?
      - Can I set a user's roles when creating them?
      instructions:
      - text: Create a user named {first_name} {last_name} with username {username} and email {email}.
        slots:
          first_name: requestBody.first_name
          last_name: requestBody.last_name
          username: requestBody.username
          email: requestBody.email
      - text: Add a new user {username} with roles {roles}.
        slots:
          username: requestBody.username
          roles: requestBody.roles
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/{user_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user
      effect: read
      questions:
      - What are the details of a specific user?
      - Can I look up a user by their user ID?
      instructions:
      - text: Get user {user_id}.
        slots:
          user_id: path.user_id
      - text: Show the profile of user {user_id}.
        slots:
          user_id: path.user_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/{user_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a user's profile
      effect: write
      questions:
      - How do I change a user's email or name?
      - Can I update a user's roles?
      instructions:
      - text: Update user {user_id} with email {email}.
        slots:
          user_id: path.user_id
          email: requestBody.email
      - text: Rename user {user_id} to {first_name} {last_name}.
        slots:
          user_id: path.user_id
          first_name: requestBody.first_name
          last_name: requestBody.last_name
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/{user_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Deactivate a user
      effect: destructive
      questions:
      - How do I deactivate a user account?
      - Can I remove a user from the server without deleting their data?
      instructions:
      - text: Deactivate user {user_id}.
        slots:
          user_id: path.user_id
      - text: Disable user {user_id} so they can no longer log in.
        slots:
          user_id: path.user_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/{user_id}/patch'].put
  update:
    x-apievangelist-phrasing:
      intent: Partially update a user
      effect: write
      questions:
      - Can I change just a user's email without resending their full profile?
      - Is there a partial update for a user's details?
      instructions:
      - text: Patch user {user_id} with email {email}.
        slots:
          user_id: path.user_id
          email: requestBody.email
      - text: Partially update user {user_id} to change their roles to {roles}.
        slots:
          user_id: path.user_id
          roles: requestBody.roles
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/search'].post
  update:
    x-apievangelist-phrasing:
      intent: Search users
      effect: read
      questions:
      - How do I find a user by name on a team?
      - Can I search users in a channel and include inactive ones?
      instructions:
      - text: Search users for {term} on team {team_id}.
        slots:
          term: requestBody.term
          team_id: requestBody.team_id
      - text: Find users named {term} in channel {in_channel_id}, including inactive users.
        slots:
          term: requestBody.term
          in_channel_id: requestBody.in_channel_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/autocomplete'].get
  update:
    x-apievangelist-phrasing:
      intent: Autocomplete a user's name
      effect: read
      questions:
      - How do I suggest users as I type a name?
      - Can autocomplete be limited to a team or channel?
      instructions:
      - text: Autocomplete users whose name starts with {name}.
        slots:
          name: query.name
      - text: Suggest users named {name} on team {team_id}.
        slots:
          name: query.name
          team_id: query.team_id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/users/{user_id}/sessions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's active sessions
      effect: read
      questions:
      - Which devices is a user logged in from?
      - Can I see the active sessions for one user?
      instructions:
      - text: List the active sessions for user {user_id}.
        slots:
          user_id: path.user_id
      - text: Show where user {user_id} is currently logged in.
        slots:
          user_id: path.user_id
      method: generated
      generated: '2026-11-17'

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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/mattermost-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.