Automattic Users API

The users API from Automattic — 27 operation(s) for users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 38

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /me Get my own user profile · Get metadata about the current user #
Ask an LLM
“How do I see my own user profile on WordPress.com?”
“Can I fetch my own user metadata?”
Tell an agent
Show my own user profile.
Get metadata about the current user.
GET /me/billing-history View my billing history and upcoming charges · Get list of current user's billing history and upcoming charges #
Ask an LLM
“What has my account been charged recently and what is coming up?”
“Can I see my billing history and upcoming charges?”
Tell an agent
Show my billing history and upcoming charges.
List my recent payments and upcoming bills.
GET /me/connected-applications/ List my connected applications · Get current user's connected applications #
Ask an LLM
“Which third-party apps have I connected to my account?”
“Can I see the apps that have access to my account?”
Tell an agent
List my connected applications.
Show every app I've connected to my account.
GET /me/connected-applications/{ID} Get one connected application · Get one of current user's connected applications #
Ask an LLM
“How do I look up a single connected app by its ID?”
“What does one of my connected applications return?”
Tell an agent
Get connected application {ID}.
Show the details of connected app {ID}.
POST /me/connected-applications/{ID}/delete Revoke a connected application's access · Delete one of current user's connected application access tokens #
Ask an LLM
“How do I disconnect an app I no longer use?”
“Can I revoke access for one connected application?”
Tell an agent destructive · confirm first
Revoke access for connected application {ID}.
Disconnect app {ID} from my account.
GET /me/likes/ List the posts I've liked · Get a list of the current user's likes #
Ask an LLM
“Which posts have I liked?”
“Can I page through my likes?”
Tell an agent
List the posts I've liked.
Show my liked posts ordered {order}.
GET /me/preferences/ Get my Calypso preferences · Get the current user's settings #
Ask an LLM
“What Calypso preferences are set for my account?”
“Can I read my own Calypso settings?”
Tell an agent
Show my Calypso preferences.
Get the Calypso settings for the current user.
POST /me/preferences/ Update my Calypso preferences · Update the current user's preferences #
Ask an LLM
“How do I change my Calypso preferences?”
“Can I set Calypso preferences for my account?”
Tell an agent
Update my Calypso preferences to {calypso_preferences}.
Set Calypso preferences {calypso_preferences}.
GET /me/settings/ Get my account settings · Get the current user's settings #
Ask an LLM
“What are my account settings?”
“Can I read my own user settings?”
Tell an agent
Show my account settings.
Get the current user's settings.
POST /me/settings/ Update my account settings · Update the current user's settings #
Ask an LLM
“How do I change my display name or email address?”
“Can I update my password or profile description?”
Tell an agent
Set my display name to {display_name}.
Change my email to {user_email}.
POST /me/settings/password/validate Check a password's strength · Verify strength of a user's new password #
Ask an LLM
“Is a proposed password strong enough?”
“Can I validate a new password before setting it?”
Tell an agent
Validate the password {password}.
Check whether {password} is a strong enough password.
POST /me/settings/profile-links/new Add a link to my profile · Add a link to current user's profile #
Ask an LLM
“How do I add a link to my profile?”
“Can I add a link with a title to my profile?”
Tell an agent
Add the link {value} to my profile.
Add a profile link {value} titled {title}.
POST /me/settings/profile-links/{slug}/delete Remove a link from my profile · Delete a link from current user's profile #
Ask an LLM
“How do I remove a link from my profile?”
“Can I delete a profile link by its URL?”
Tell an agent destructive · confirm first
Remove the profile link {slug}.
Delete profile link {slug} from my profile.
GET /me/two-step Check my two-factor settings · Get information about current user's two factor configuration #
Ask an LLM
“Is two-factor authentication enabled on my account?”
“What two-factor configuration does my account have?”
Tell an agent
Show my two-factor settings.
Check whether two-step is enabled on my account.
POST /me/two-step/sms/new Send a two-factor code by SMS · Sends a two-step code via SMS to the current user #
Ask an LLM
“How do I get a two-factor code sent to my phone?”
“Can I request a new SMS code for two-step?”
Tell an agent
Send a two-factor code to my phone.
Request a new SMS code for two-step.
POST /sites/{site}/invites/new Invite users to a site · Invite one or more users to your site #
Ask an LLM
“How do I invite people to my site?”
“Can I invite users with a message and role?”
Tell an agent
Invite {invitees} to site {site}.
Invite {invitees} to site {site} as {role} with message {message}.
GET /sites/{site}/users List the users of a site · List the users of a site #
Ask an LLM
“Who are the users of a site?”
“Can I list site users by role?”
Tell an agent
List the users of site {site}.
Show site {site} users with role {role}.
GET /sites/{site}/users/login:{user_id} Get a site user by login · Get details of a user of a site by login #
Ask an LLM
“How do I look up a user on a site by login?”
“Can I fetch one site user's details?”
Tell an agent
Get user {user_id} on site {site}.
Show site {site} user {user_id}.
POST /sites/{site}/users/{user_ID}/delete Remove a user from a site · Deletes or removes a user of a site #
Ask an LLM
“How do I take a user off a WordPress.com site?”
“Can I reassign a user's posts when removing them from a site?”
Tell an agent destructive · confirm first
Remove user {user_ID} from site {site}.
Take user {user_ID} off site {site} and reassign their posts to {reassign}.
POST /sites/{site}/users/{user_id} Update a site user's details · Update details of a user of a site #
Ask an LLM
“How do I change a user's role on a WordPress.com site?”
“Can I update a site user's name and email?”
Tell an agent
Update user {user_id} on site {site} with roles {roles}.
Change user {user_id}'s name to {name} on site {site}.
GET /users/suggest Suggest users for @mentions · Get a list of possible users to suggest for @mentions #
Ask an LLM
“Who can I suggest for an @mention in a post?”
“Can I get mention suggestions for a specific site?”
Tell an agent
Suggest users for @mentions on site {site}.
Suggest users matching {filter} for @mentions.
GET /users/{user} Get a user's profile · Get metadata about a user #
Ask an LLM
“What are the details of a WordPress.com user?”
“Can I look up a user by username?”
Tell an agent
Get user {user}.
Show the profile of user {user}.
GET /me/billing-history/{filter} View my billing history and upcoming charges · Get list of current user's billing history and upcoming charges #
Ask an LLM
“What have I paid for on WordPress.com recently?”
“When is my next billing charge?”
Tell an agent
Show my billing history for {filter}.
List upcoming charges for {filter}.
GET /wp/v2/sites/{wpcom_site}/users List users on a site · GET /wp/v2/sites/{wpcom_site}/users #
Ask an LLM
“Who are the users on a WordPress.com site?”
“Can I list only site editors or authors?”
Tell an agent
List users on site {wpcom_site}.
Show users on {wpcom_site} with roles {roles}.
POST /wp/v2/sites/{wpcom_site}/users Invite a new user to a site · POST /wp/v2/sites/{wpcom_site}/users #
Ask an LLM
“How do I invite a new person to a WordPress.com site?”
“Can I set a new user's role when inviting them?”
Tell an agent
Invite {email} to site {wpcom_site} as {roles}.
Create user {username} on {wpcom_site} with password {password}.
GET /wp/v2/sites/{wpcom_site}/users/me Get the current user's profile on a site · GET /wp/v2/sites/{wpcom_site}/users/me #
Ask an LLM
“What are my own details on a WordPress.com site?”
“Can I see my user profile on a site?”
Tell an agent
Get my user profile on site {wpcom_site}.
Show the current user's details on {wpcom_site}.
POST /wp/v2/sites/{wpcom_site}/users/me Create a user profile on a site · POST /wp/v2/sites/{wpcom_site}/users/me #
Ask an LLM
“How do I create a new user profile on a WordPress.com site?”
“Can I set a nickname and description when creating a user?”
Tell an agent
Create a user profile on {wpcom_site} with username {username}.
Create user {username} on {wpcom_site} with nickname {nickname}.
PUT /wp/v2/sites/{wpcom_site}/users/me Update the current user's profile on a site · PUT /wp/v2/sites/{wpcom_site}/users/me #
Ask an LLM
“How do I change my own name or email on a site?”
“Can I update my user profile on a WordPress.com site?”
Tell an agent
Update my user profile on {wpcom_site} with name {name}.
Change my email on site {wpcom_site} to {email}.
PATCH /wp/v2/sites/{wpcom_site}/users/me Partially update the current user's profile on a site · PATCH /wp/v2/sites/{wpcom_site}/users/me #
Ask an LLM
“Can I change just my email on a site without resending everything?”
“How do I update a single field of my user profile?”
Tell an agent
Patch my user profile on {wpcom_site} with email {email}.
Change only my nickname on site {wpcom_site} to {nickname}.
DELETE /wp/v2/sites/{wpcom_site}/users/me Delete the current user's profile on a site · DELETE /wp/v2/sites/{wpcom_site}/users/me #
Ask an LLM
“How do I delete my own user profile from a WordPress.com site?”
“Can I reassign my posts when deleting my user profile?”
Tell an agent destructive · confirm first
Delete my user profile on {wpcom_site}.
Delete my user profile on {wpcom_site} and reassign my posts to {reassign}.
GET /wp/v2/sites/{wpcom_site}/users/{id} Get a site user from WordPress.com · GET /wp/v2/sites/{wpcom_site}/users/{id} #
Ask an LLM
“What roles does a user have on a WordPress.com site?”
“Can I fetch one user's profile from a WordPress.com site?”
Tell an agent
Get user {id} from WordPress.com site {wpcom_site}.
Show the roles of user {id} on WordPress.com site {wpcom_site}.
POST /wp/v2/sites/{wpcom_site}/users/{id} Update a user's profile on a WordPress.com site · POST /wp/v2/sites/{wpcom_site}/users/{id} #
Ask an LLM
“Can I change a site user's locale or website URL?”
“How do I edit a user's first and last name on a WordPress.com site?”
Tell an agent
Set the website URL of user {id} on {wpcom_site} to {url}.
Change the first name of user {id} on {wpcom_site} to {first_name}.
PUT /wp/v2/sites/{wpcom_site}/users/{id} Replace a user's profile on a site · PUT /wp/v2/sites/{wpcom_site}/users/{id} #
Ask an LLM
“How do I fully replace a user's profile on a WordPress.com site?”
“Can I overwrite a site user's details with new values?”
Tell an agent
Replace user {id} on {wpcom_site} with name {name}.
Overwrite site user {id} on {wpcom_site} with email {email}.
PATCH /wp/v2/sites/{wpcom_site}/users/{id} Partially update a user's profile on a site · PATCH /wp/v2/sites/{wpcom_site}/users/{id} #
Ask an LLM
“Can I change just one field of a user on a site?”
“How do I update a single user field on a WordPress.com site?”
Tell an agent
Patch user {id} on {wpcom_site} with email {email}.
Change only the nickname of user {id} on {wpcom_site} to {nickname}.
DELETE /wp/v2/sites/{wpcom_site}/users/{id} Delete a user's profile on a site · DELETE /wp/v2/sites/{wpcom_site}/users/{id} #
Ask an LLM
“How do I delete a user's profile from a WordPress.com site?”
“Can I reassign a user's posts when deleting them from a site?”
Tell an agent destructive · confirm first
Delete user {id} from site {wpcom_site}.
Delete user {id} on {wpcom_site} and reassign their posts to {reassign}.
GET /wpcom/v2/users/username/suggestions Suggest usernames for a new user · GET /wpcom/v2/users/username/suggestions #
Ask an LLM
“What username suggestions exist for a new user?”
“Can I get a list of available usernames based on a name?”
Tell an agent
Suggest usernames for {name}.
Give me available username suggestions derived from {name}.
GET /wpcom/v2/users/{user_id}/sites List sites a user belongs to · GET /wpcom/v2/users/{user_id}/sites #
Ask an LLM
“Which sites does a particular user have access to?”
“Can I list the sites a user is a member of?”
Tell an agent
List sites user {user_id} belongs to.
Show the sites {user_id} is a member of.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/automattic:automattic-users-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

automattic-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Automattic Users API
  x-derived-by: API Evangelist enrichment pipeline
  x-refined-note:
  - x-derived-from differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged users across 5 of this provider''s published API definitions: automattic-wordpress-com-rest-v1-1-openapi.yml, automattic-wordpress-com-rest-v1-2-openapi.yml, automattic-wordpress-com-rest-v1-3-openapi.yml, automattic-wordpress-com-wp-v2-openapi.yml, automattic-wordpress-com-wpcom-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://public-api.wordpress.com/rest/v1.1
- url: https://public-api.wordpress.com/rest/v1.2
- url: https://public-api.wordpress.com/rest/v1.3
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://artifacts.apis.io/automattic/openapi/automattic-users-api-openapi.yml