Automattic Sharing API

The sharing API from Automattic — 15 operation(s) for sharing.

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 17

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/keyring-connections/ List my social connections · Get a list of all the keyring connections associated with the current user #
Ask an LLM
“Which social media accounts have I connected to WordPress.com?”
“Can I see all my keyring connections in one list?”
Tell an agent
List all my keyring connections.
Show every social connection I've set up.
GET /me/keyring-connections/{keyring_connection_ID} Get one of my social connections · Get a single Keyring connection that the current user has setup #
Ask an LLM
“How do I look up a single social connection by its ID?”
“What does one of my keyring connections contain?”
Tell an agent
Get my keyring connection {connection}.
Show the details of social connection {connection}.
POST /me/keyring-connections/{keyring_connection_ID}/delete Disconnect a social connection · Delete the Keyring connection (and associated token) with the provided ID. #
Ask an LLM
“How do I disconnect a social account from WordPress.com?”
“Does removing a keyring connection also delete its publicize connections?”
Tell an agent destructive · confirm first
Delete my keyring connection {connection}.
Disconnect social account {connection} and remove its publicize connections.
GET /me/publicize-connections/ List my publicize connections · Get a list of publicize connections that the current user has set up #
Ask an LLM
“Which social accounts do I publish posts to automatically?”
“Can I filter my publicize connections by service?”
Tell an agent
List all my publicize connections.
Show my publicize connections to {service}.
GET /me/publicize-connections/{publicize_connection_ID} Get one of my publicize connections · Get a single publicize connection that the current user has set up #
Ask an LLM
“How do I look up a single publicize connection by its ID?”
“What settings does one of my publicize connections have?”
Tell an agent
Get my publicize connection {connection}.
Show the details of publicize connection {connection}.
POST /me/publicize-connections/{publicize_connection_ID} Update a publicize connection · Update a single publicize connection belonging to the current user #
Ask an LLM
“How do I change the settings of an existing publicize connection?”
“Can I switch which external user a publicize connection posts to?”
Tell an agent
Update my publicize connection {connection}.
Set publicize connection {connection} to use external user {user}.
POST /me/publicize-connections/{publicize_connection_ID}/delete Delete a publicize connection · Delete the specified publicize connection #
Ask an LLM
“How do I stop publishing to one social account?”
“Can I remove a publicize connection without touching its keyring connection?”
Tell an agent destructive · confirm first
Delete my publicize connection {connection}.
Stop publicizing to the social account behind connection {connection}.
GET /meta/external-services/ List services I can connect to · Get a list of third-party services that WordPress.com or Jetpack sites can… #
Ask an LLM
“Which third-party services can I connect my site to?”
“What types of external services does the keyring support?”
Tell an agent
List all external services I can connect to.
Show external services of type {type}.
GET /meta/external-services/{service} Get details about one external service · Get information about a single external service that WordPress.com or Jetpack… #
Ask an LLM
“How do I look up the details of a single external service?”
“What does the keyring documentation say about a specific service?”
Tell an agent
Get details about external service {service}.
Show the keyring documentation for {service}.
GET /meta/sharing-buttons List supported sharing buttons · Get a list of external services for which sharing buttons are supported #
Ask an LLM
“Which social services support sharing buttons?”
“What sharing button options are available for my site?”
Tell an agent
List the sharing buttons supported by WordPress.com.
Show sharing buttons for services where sharing is enabled.
GET /sites/{site}/publicize-connections/ List a site's publicize connections · Get a list of publicize connections that are associated with the specified site #
Ask an LLM
“Which social accounts does a particular site publish to?”
“Can I see a site's publicize connections for one service?”
Tell an agent
List the publicize connections for site {site}.
Show site {site}'s publicize connections to {service}.
POST /sites/{site}/publicize-connections/new Create a site publicize connection · Create a new publicize connection that is associated with the specified site #
Ask an LLM
“How do I add a new social account to a site?”
“Can a new publicize connection be shared across all site users?”
Tell an agent
Create a publicize connection on site {site} using keyring connection {connection}.
Add a new social connection to site {site} shared globally: {shared}.
GET /sites/{site}/publicize-connections/{publicize_connection_ID} Get a site's publicize connection · Get a single publicize connection that is associated with the specified site #
Ask an LLM
“How do I look up one publicize connection on a site?”
“What does a specific site publicize connection contain?”
Tell an agent
Get publicize connection {connection} on site {site}.
Show site {site}'s publicize connection {connection}.
POST /sites/{site}/publicize-connections/{publicize_connection_ID} Update a site publicize connection · Update a single publicize connection belonging to the specified site #
Ask an LLM
“How do I change an existing publicize connection on a site?”
“Can I switch which external user a site's publicize connection posts to?”
Tell an agent
Update publicize connection {connection} on site {site}.
Set site {site}'s publicize connection {connection} to use external user {user}.
POST /sites/{site}/publicize-connections/{publicize_connection_ID}/delete Delete a site publicize connection · Delete the specified publicize connection #
Ask an LLM
“How do I stop a site from publishing to one social account?”
“Can I remove a publicize connection from a site without deleting its keyring connection?”
Tell an agent destructive · confirm first
Delete publicize connection {connection} from site {site}.
Stop site {site} from publishing to the social account behind connection {connection}.
POST /sites/{site}/sharing-buttons Edit a site's sharing buttons · Edit all sharing buttons for a site #
Ask an LLM
“How do I turn sharing buttons on or off for a site?”
“Can I change which sharing buttons a site shows?”
Tell an agent
Set the sharing buttons on site {site} to {buttons}.
Update site {site}'s sharing button settings.
GET /sites/{site}/sharing-buttons/ List a site's sharing buttons · Get a list of a site's sharing buttons #
Ask an LLM
“Which sharing buttons are enabled on a site?”
“Can I see only the hidden sharing buttons for a site?”
Tell an agent
List the sharing buttons on site {site}.
Show {visibility} sharing buttons for site {site}.

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-sharing-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-sharing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API v1.1 Sharing API
  version: v1.1
  description: 'The WordPress.com REST API, operated by Automattic. Derived by API Evangelist from Automattic''s own self-describing help document at https://public-api.wordpress.com/rest/v1.1/help (Accept: application/json), which publishes every endpoint''s method, path, description, path/query/body parameters and response fields. Security schemes come from https://public-api.wordpress.com/.well-known/openid-configuration. The error envelope was observed live.'
  termsOfService: https://wordpress.com/tos/
  contact:
    name: WordPress.com Developer Resources
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/rest/v1.1/help
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com/rest/v1.1
security:
- bearerAuth: []
tags:


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