Generated by API Evangelist
Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Automattic Notifications API
version: 1.0.0
extends: openapi/automattic-notifications-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-12-02'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/notifications/read'].post
update:
x-apievangelist-phrasing:
intent: Mark notifications as read
effect: write
questions:
- How do I mark several notifications as read at once?
- Can I reduce the unread notification count for specific notes?
instructions:
- text: 'Mark these notifications as read: {counts}.'
slots:
counts: requestBody.counts
- text: Set the read status of notifications {counts}.
slots:
counts: requestBody.counts
method: generated
generated: '2026-12-02'
- target: $.paths['/notifications/seen'].post
update:
x-apievangelist-phrasing:
intent: Record when a user last saw notifications
effect: write
questions:
- How do I tell WordPress.com my app has seen the latest notification?
- Can I set the seen timestamp for notifications?
instructions:
- text: Set the most recently seen notification timestamp to {time}.
slots:
time: requestBody.time
- text: Record that notifications were seen at {time}.
slots:
time: requestBody.time
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/notifications'].post
update:
x-apievangelist-phrasing:
intent: Send a notification to a user
effect: write
questions:
- How do I send a notification to a specific user?
- What note type and arguments does the notifications endpoint expect?
instructions:
- text: Send a {note_type} notification to user {user_id}.
slots:
note_type: requestBody.note_type
user_id: requestBody.user_id
- text: Notify user {user_id} of type {note_type} with args {args}.
slots:
user_id: requestBody.user_id
note_type: requestBody.note_type
args: requestBody.args
method: generated
generated: '2026-12-02'
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.