Automattic Support Interactions API

The support-interactions API from Automattic — 4 operation(s) for support-interactions.

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 7

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 /wpcom/v2/support-interactions List support interactions · GET /wpcom/v2/support-interactions #
Ask an LLM
“Which support interactions are still open?”
“Can I list support interactions from test mode?”
Tell an agent
List support interactions with status {status}.
Show page {page} of support interactions, {per_page} per page.
POST /wpcom/v2/support-interactions Start a support interaction · POST /wpcom/v2/support-interactions #
Ask an LLM
“How do I open a new support interaction from my bot?”
“Can I start a support interaction in test mode?”
Tell an agent
Start a support interaction with event {event_external_id} from {event_source}.
Open a test-mode support interaction for {event_external_id} from {event_source}.
GET /wpcom/v2/support-interactions/{support_interaction_id} Get a support interaction · GET /wpcom/v2/support-interactions/{support_interaction_id} #
Ask an LLM
“What is the current status of a support interaction?”
“Can I look up one support interaction by its ID?”
Tell an agent
Get support interaction {support_interaction_id}.
Show the status of support interaction {support_interaction_id}.
POST /wpcom/v2/support-interactions/{support_interaction_id}/events Add an event to a support interaction · POST /wpcom/v2/support-interactions/{support_interaction_id}/events #
Ask an LLM
“How do I log a bot event inside an existing support interaction?”
“Can I attach metadata to a support interaction event?”
Tell an agent
Add event {event_external_id} from {event_source} to support interaction {support_interaction_id}.
Log {event_external_id} from {event_source} in support interaction {support_interaction_id} with metadata {event_metadata}.
POST /wpcom/v2/support-interactions/{support_interaction_id}/status Record a status change on a support interaction · POST /wpcom/v2/support-interactions/{support_interaction_id}/status #
Ask an LLM
“Can I record a status change on a support interaction with a POST?”
“Which method records a status change on a support interaction?”
Tell an agent
Record status {status} on support interaction {support_interaction_id} with a POST.
Post a status change to support interaction {support_interaction_id}.
PUT /wpcom/v2/support-interactions/{support_interaction_id}/status Set a support interaction's status · PUT /wpcom/v2/support-interactions/{support_interaction_id}/status #
Ask an LLM
“How do I close a support interaction by setting its status?”
“Can I overwrite a support interaction's status?”
Tell an agent
Set support interaction {support_interaction_id} status to {status}.
Close support interaction {support_interaction_id} by setting status {status}.
PATCH /wpcom/v2/support-interactions/{support_interaction_id}/status Change a support interaction's status · PATCH /wpcom/v2/support-interactions/{support_interaction_id}/status #
Ask an LLM
“How do I change just the status of a support interaction?”
“Can I patch a support interaction's status without replacing it?”
Tell an agent
Patch support interaction {support_interaction_id} status to {status}.
Change only the status of support interaction {support_interaction_id} to {status}.

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-support-interactions-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-support-interactions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WordPress.com REST API — wpcom/v2 namespace Support…
  version: v2
  description: Derived by API Evangelist from the WordPress.com REST API route index published at https://public-api.wordpress.com/wpcom/v2/. Paths, HTTP methods, and parameter names/types/descriptions/defaults are taken verbatim from that index. Response schemas are not published in the route index, so successful responses are described but not schematised; the error envelope was observed live on public-api.wordpress.com.
  contact:
    name: Automattic
    url: https://developer.wordpress.com/docs/api/
  x-derived-from: https://public-api.wordpress.com/wpcom/v2/
  x-derived-by: API Evangelist enrichment pipeline
servers:
- url: https://public-api.wordpress.com
security:
- bearerAuth: []
tags:
- name: support-interactions
paths:
  /wpcom/v2/support-interactions:
    get:
      operationId: getWpcomV2SupportInteractions
      summary: GET /wpcom/v2/support-interactions
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: status
        in: query
        required: false
        schema:
          type: array
          default: []
          items:
            type: string
      - name: is_test_mode
        in: query
        required: false
        schema:
          type: boolean
          default: false
      - name: page
        in: query
        required: false
        schema:
          type: integer
          default: 1
      - name: per_page
        in: query
        required: false
        schema:
          type: integer
          default: 10
    post:
      operationId: postWpcomV2SupportInteractions
      summary: POST /wpcom/v2/support-interactions
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                event_external_id:
                  type: string
                is_test_mode:
                  type: boolean
                  default: false
                event_source:
                  type: string
                  enum:
                  - help-center
                  - odie
                  - zendesk
                  - zendesk_staging
                bot_slug:
                  type: string
                event_metadata:
                  type: string
              required:
              - event_external_id
              - event_source
  /wpcom/v2/support-interactions/{support_interaction_id}:
    get:
      operationId: getWpcomV2SupportInteractionsbySupportInteractionId
      summary: GET /wpcom/v2/support-interactions/{support_interaction_id}
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: support_interaction_id
        in: path
        required: true
        schema:
          type: string
  /wpcom/v2/support-interactions/{support_interaction_id}/events:
    post:
      operationId: postWpcomV2SupportInteractionsbySupportInteractionIdEvents
      summary: POST /wpcom/v2/support-interactions/{support_interaction_id}/events
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: support_interaction_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                event_external_id:
                  type: string
                event_source:
                  type: string
                  enum:
                  - help-center
                  - odie
                  - zendesk
                  - zendesk_staging
                event_metadata:
                  type: string
                is_test_mode:
                  type: boolean
                  default: false
              required:
              - event_external_id
              - event_source
  /wpcom/v2/support-interactions/{support_interaction_id}/status:
    post:
      operationId: postWpcomV2SupportInteractionsbySupportInteractionIdStatus
      summary: POST /wpcom/v2/support-interactions/{support_interaction_id}/status
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: support_interaction_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - open
                  - solved
                  - closed
              required:
              - status
    put:
      operationId: putWpcomV2SupportInteractionsbySupportInteractionIdStatus
      summary: PUT /wpcom/v2/support-interactions/{support_interaction_id}/status
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: support_interaction_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - open
                  - solved
                  - closed
              required:
              - status
    patch:
      operationId: patchWpcomV2SupportInteractionsbySupportInteractionIdStatus
      summary: PATCH /wpcom/v2/support-interactions/{support_interaction_id}/status
      tags:
      - support-interactions
      responses:
        '200':
          description: OK
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WPRestError'
      parameters:
      - name: support_interaction_id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                  - open
                  - solved
                  - closed
              required:
              - status
components:
  schemas:
    WPRestError:
      type: object
      description: WordPress REST API error envelope (observed on public-api.wordpress.com).
      properties:
        code:
          type: string
          example: rest_unauthorized
        message:
          type: string
          example: Authentication required.
        data:
          type: object
          properties:
            status:
              type: integer
              example: 401
  securitySchemes:
    oauth2:
      type: oauth2
      description: WordPress.com OAuth 2.1, per https://public-api.wordpress.com/.well-known/openid-configuration
      flows:
        authorizationCode:
          authorizationUrl: https://public-api.wordpress.com/oauth2-1/authorize
          tokenUrl: https://public-api.wordpress.com/oauth2-1/token
          refreshUrl: https://public-api.wordpress.com/oauth2-1/token
          scopes:
            global: ''
            auth: ''
            openid: ''
            profile: ''
            email: ''
            users: ''
            sites: ''
            posts: ''
            comments: ''
            taxonomy: ''
            follow: ''
            sharing: ''
            freshly-pressed: ''
            notifications: ''
            insights: ''
            read: ''
            stats: ''
            media: ''
            menus: ''
            batch: ''
            videos: ''
    bearerAuth:
      type: http
      scheme: bearer