RedReplier Mentions API
Matched conversations and their review state
Matched conversations and their review state
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/redreplier-com:redreplier-com-mentions-api"
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.
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: 3.2.0
info:
title: RedReplier Public Mentions API
version: 1.0.0
description: 'REST API for monitoring Reddit, X (Twitter), Bluesky, Hacker News and Facebook for conversations that match your keywords. Register the sites you want monitored, manage the keyword set, pull scored mentions with their AI reply suggestions, mark each one approved or rejected, and configure email alert cadence. Authenticate with `Authorization: Bearer `; create a key under API Tokens in the RedReplier dashboard. All timestamps are ISO 8601 UTC. Every response carries the RFC 9331 rate-limit fields so a client can pace itself instead of discovering the limit through a 429: `RateLimit-Policy`, `RateLimit-Limit`, `RateLimit-Remaining` and `RateLimit-Reset`, the seconds until the window rolls over. A 429 adds `Retry-After` with the same number of seconds. Limits are counted per API key.'
servers:
- url: https://ai.redreplier.com/ai-app/api/v1
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Mentions
description: Matched conversations and their review state
paths:
/mentions:
get:
operationId: listMentions
summary: List matched conversations
description: Scored mentions across Reddit, X, Bluesky, Hacker News and Facebook, each with the matched keyword, a relevance score with its reasoning, and an AI-drafted reply.
tags:
- Mentions
parameters:
- name: websiteId
in: query
required: false
schema:
type: string
format: uuid
description: Restrict to mentions for one monitored website.
- name: statuses
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/MentionStatus'
style: form
explode: true
description: Review states to include. Repeat the key for several, e.g. `?statuses=NEW&statuses=APPROVED`.
- name: scoreBuckets
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/RelevanceBucket'
style: form
explode: true
description: Relevance bands to include.
- name: includeLowRelevance
in: query
required: false
schema:
type: boolean
default: false
description: Include mentions the scorer judged unlikely to be worth a reply. Excluded by default.
- name: minScore
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 100
description: Only return mentions scoring at least this much. Unscored mentions are left out. The website's minimum score still applies unless includeLowRelevance is true.
- name: keywords
in: query
required: false
schema:
type: array
items:
type: string
style: form
explode: true
description: Only mentions matched by these keywords.
- name: sources
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/MentionSource'
style: form
explode: true
description: Platforms to include.
- name: sort
in: query
required: false
schema:
$ref: '#/components/schemas/MentionSort'
description: Order results by relevance score or publish time.
- name: from
in: query
required: false
schema:
type: string
format: date-time
description: Only mentions RedReplier found at or after this time (ISO 8601). Filters on `ingestedAt`, not `publishedAt`.
- name: to
in: query
required: false
schema:
type: string
format: date-time
description: Only mentions RedReplier found at or before this time (ISO 8601). Filters on `ingestedAt`, not `publishedAt`.
- name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 500
default: 50
description: Maximum mentions to return.
- name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
description: Mentions to skip before returning results.
- name: X-Workspace-Id
in: header
required: false
schema:
type: string
description: 'The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from `GET /workspaces`. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with `code: workspace_access_denied`. An API key belongs to one workspace: send its own id or leave the header out'
responses:
'200':
description: Mentions
content:
application/json:
schema:
$ref: '#/components/schemas/MentionListResponse'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'Missing, invalid, expired or revoked API key or access token. `code: token_issuer_lost_access` means the member who created the API key was deactivated or lost access to the workspace: ask a workspace admin for a new key'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'The credentials are valid but cannot be used here. `code: permission_denied`: the workspace role behind the API key or OAuth sign-in lacks `redreplier.write`; `role`, `keyRole` and `issuerRole` say which role fell short. `code: subscription_required`: the organization plan does not include API access. `code: workspace_access_denied`: `X-Workspace-Id` names a workspace the caller cannot reach, or an API key was sent to a workspace other than its own'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/mentions/count:
get:
operationId: countMentions
summary: Count matched conversations
description: Row count for the same filters as /mentions, without fetching the rows.
tags:
- Mentions
parameters:
- name: websiteId
in: query
required: false
schema:
type: string
format: uuid
description: Restrict to mentions for one monitored website.
- name: statuses
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/MentionStatus'
style: form
explode: true
description: Review states to include. Repeat the key for several, e.g. `?statuses=NEW&statuses=APPROVED`.
- name: scoreBuckets
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/RelevanceBucket'
style: form
explode: true
description: Relevance bands to include.
- name: includeLowRelevance
in: query
required: false
schema:
type: boolean
default: false
description: Include mentions the scorer judged unlikely to be worth a reply. Excluded by default.
- name: minScore
in: query
required: false
schema:
type: integer
minimum: 0
maximum: 100
description: Only return mentions scoring at least this much. Unscored mentions are left out. The website's minimum score still applies unless includeLowRelevance is true.
- name: keywords
in: query
required: false
schema:
type: array
items:
type: string
style: form
explode: true
description: Only mentions matched by these keywords.
- name: sources
in: query
required: false
schema:
type: array
items:
$ref: '#/components/schemas/MentionSource'
style: form
explode: true
description: Platforms to include.
- name: sort
in: query
required: false
schema:
$ref: '#/components/schemas/MentionSort'
description: Order results by relevance score or publish time.
- name: from
in: query
required: false
schema:
type: string
format: date-time
description: Only mentions RedReplier found at or after this time (ISO 8601). Filters on `ingestedAt`, not `publishedAt`.
- name: to
in: query
required: false
schema:
type: string
format: date-time
description: Only mentions RedReplier found at or before this time (ISO 8601). Filters on `ingestedAt`, not `publishedAt`.
- name: X-Workspace-Id
in: header
required: false
schema:
type: string
description: 'The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from `GET /workspaces`. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with `code: workspace_access_denied`. An API key belongs to one workspace: send its own id or leave the header out'
responses:
'200':
description: Mention count
content:
application/json:
schema:
$ref: '#/components/schemas/MentionCountResponse'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'Missing, invalid, expired or revoked API key or access token. `code: token_issuer_lost_access` means the member who created the API key was deactivated or lost access to the workspace: ask a workspace admin for a new key'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'The credentials are valid but cannot be used here. `code: permission_denied`: the workspace role behind the API key or OAuth sign-in lacks `redreplier.write`; `role`, `keyRole` and `issuerRole` say which role fell short. `code: subscription_required`: the organization plan does not include API access. `code: workspace_access_denied`: `X-Workspace-Id` names a workspace the caller cannot reach, or an API key was sent to a workspace other than its own'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/mentions/{id}/status:
patch:
operationId: updateMentionStatus
summary: Approve or reject a mention
tags:
- Mentions
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
description: Mention id
- name: X-Workspace-Id
in: header
required: false
schema:
type: string
description: 'The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from `GET /workspaces`. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with `code: workspace_access_denied`. An API key belongs to one workspace: send its own id or leave the header out'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateMentionStatusRequest'
responses:
'200':
description: Mention updated
content:
application/json:
schema:
$ref: '#/components/schemas/Mention'
'400':
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: 'Missing, invalid, expired or revoked API key or access token. `code: token_issuer_lost_access` means the member who created the API key was deactivated or lost access to the workspace: ask a workspace admin for a new key'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'The credentials are valid but cannot be used here. `code: permission_denied`: the workspace role behind the API key or OAuth sign-in lacks `redreplier.write`; `role`, `keyRole` and `issuerRole` say which role fell short. `code: subscription_required`: the organization plan does not include API access. `code: workspace_access_denied`: `X-Workspace-Id` names a workspace the caller cannot reach, or an API key was sent to a workspace other than its own'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Mention not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/mentions/{id}/explain:
post:
operationId: explainMention
summary: Explain why a mention scored the way it did
description: Fills in `relevanceReason`, `tags` and `aiReplySuggestion` when they are missing, which runs AI scoring. A mention that already has a reason and a reply comes back as it is, with no new AI call, and so does one whose website has no description or whose scoring fails.
tags:
- Mentions
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
description: Mention id
- name: X-Workspace-Id
in: header
required: false
schema:
type: string
description: 'The workspace to act in, for OAuth sign-ins that reach several workspaces. Take the id from `GET /workspaces`. Without it the call lands in the default workspace. A workspace the caller cannot reach answers 403 with `code: workspace_access_denied`. An API key belongs to one workspace: send its own id or leave the header out'
responses:
'201':
description: The mention with its scoring rationale
content:
application/json:
schema:
$ref: '#/components/schemas/Mention'
'401':
description: 'Missing, invalid, expired or revoked API key or access token. `code: token_issuer_lost_access` means the member who created the API key was deactivated or lost access to the workspace: ask a workspace admin for a new key'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'The credentials are valid but cannot be used here. `code: permission_denied`: the workspace role behind the API key or OAuth sign-in lacks `redreplier.write`; `role`, `keyRole` and `issuerRole` say which role fell short. `code: subscription_required`: the organization plan does not include API access. `code: workspace_access_denied`: `X-Workspace-Id` names a workspace the caller cannot reach, or an API key was sent to a workspace other than its own'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Mention not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Rate limit exceeded
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
RelevanceBucket:
type: string
enum:
- VERY_LOW
- LOW
- MEDIUM
- HIGH
- VERY_HIGH
Error:
type: object
required:
- statusCode
- message
properties:
statusCode:
type: integer
error:
type: string
message:
type: string
description: Human-readable reason, in the language of `x-language` or `Accept-Language`
code:
type: string
description: 'Machine-readable reason, present on refusals a client can act on: `permission_denied`, `subscription_required`, `workspace_access_denied`, `token_issuer_lost_access` or `oauth_account_not_found`'
workspaceId:
type: string
description: The refused workspace, on `workspace_access_denied`
requiredPermission:
type: string
enum:
- workspace.read
- workspace.manage
- posts.read
- posts.draft
- posts.others
- posts.schedule
- posts.publish
- posts.delete
- media.upload
- accounts.read
- accounts.manage
- analytics.read
- analytics.sync
- inbox.read
- inbox.reply
- ai.generate
- members.read
- members.manage
- tokens.own
- tokens.manage
- webhooks.read
- webhooks.manage
- signature.manage
- labels.manage
- flowsery.write
- redreplier.write
- claw.use
description: The permission the caller lacks, on `permission_denied`
role:
type: string
description: The workspace role that lacks it, on `permission_denied`
keyRole:
type:
- string
- 'null'
description: The role the API key carries, when an API key or OAuth sign-in was refused
issuerRole:
type:
- string
- 'null'
description: The current role of the member who created the API key
tokenType:
type: string
enum:
- session
- api_token
- oauth
MentionSource:
type: string
enum:
- REDDIT_POST
- REDDIT_COMMENT
- TWITTER
- BLUESKY
- HACKERNEWS
- FACEBOOK
- FACEBOOK_GROUP
MentionListResponse:
type: object
properties:
mentions:
type: array
items:
$ref: '#/components/schemas/Mention'
total:
type: integer
description: Mentions matching the filters, before paging.
limit:
type: integer
offset:
type: integer
required:
- mentions
- total
- limit
- offset
Mention:
type: object
properties:
id:
type: string
format: uuid
websiteId:
type: string
format: uuid
source:
$ref: '#/components/schemas/MentionSource'
keyword:
type:
- string
- 'null'
description: The monitored keyword this conversation matched.
title:
type:
- string
- 'null'
contentText:
type:
- string
- 'null'
url:
type:
- string
- 'null'
format: uri
description: Link to the conversation. Null when the platform gives no public link, as with some Facebook and Bluesky posts.
author:
type:
- string
- 'null'
subreddit:
type:
- string
- 'null'
description: The subreddit on Reddit and the group id on Facebook. Null on other platforms.
status:
$ref: '#/components/schemas/MentionStatus'
relevanceScore:
type:
- number
- 'null'
description: Higher means more likely to be worth a reply.
relevanceReason:
type:
- string
- 'null'
description: Why the scorer landed on that number.
aiReplySuggestion:
type:
- string
- 'null'
description: Draft reply for a human to review before posting.
tags:
type: array
items:
type: string
publishedAt:
type:
- string
- 'null'
format: date-time
ingestedAt:
type:
- string
- 'null'
format: date-time
reviewedAt:
type:
- string
- 'null'
format: date-time
createdAt:
type:
- string
- 'null'
format: date-time
updatedAt:
type:
- string
- 'null'
format: date-time
required:
- id
- websiteId
- source
- status
UpdateMentionStatusRequest:
type: object
required:
- status
properties:
status:
$ref: '#/components/schemas/MentionStatus'
MentionSort:
type: string
enum:
- RELEVANCE
- RECENT
MentionCountResponse:
type: object
properties:
total:
type: integer
required:
- total
MentionStatus:
type: string
enum:
- NEW
- REJECTED
- APPROVED
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'A RedReplier API token, sent as `Authorization: Bearer <api-key>`. Create one under API Tokens in the dashboard. An OAuth access token reaches every workspace its member belongs to: list them with `GET /workspaces` and pick one per call with the `X-Workspace-Id` header. An OAuth access token whose login has no RedReplier account answers 401 with `code: oauth_account_not_found`.'
oauth2:
type: oauth2
description: 'Authorization code flow with PKCE or a client secret. Send the access token as `Authorization: Bearer <token>`. It reaches every workspace its member belongs to: list them with `GET /workspaces` and pick one per call with the `X-Workspace-Id` header. Ask for `offline_access` to receive a refresh token'
flows:
authorizationCode:
authorizationUrl: https://cultured-oxygen-23.authkit.app/oauth2/authorize
tokenUrl: https://cultured-oxygen-23.authkit.app/oauth2/token
refreshUrl: https://cultured-oxygen-23.authkit.app/oauth2/token
scopes:
openid: Identify the signed-in member
profile: Read the member's name
email: Read the member's email address
offline_access: Receive a refresh token