RedReplier Websites API

Sites being monitored

GitHub OpenAPI

Operations 6

GET /websites List monitored websites #
POST /websites Start monitoring a website #
GET /websites/{id} Get one monitored website #
PATCH /websites/{id} Rename a website, rewrite its description or set its ignore list #
DELETE /websites/{id} Stop monitoring a website #
POST /websites/analyze-description Draft a product description from a URL #

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/redreplier-com:redreplier-com-websites-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

redreplier-com-websites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RedReplier Public Websites 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: Websites
  description: Sites being monitored
paths:
  /websites:
    get:
      operationId: listWebsites
      summary: List monitored websites
      description: Every website in the account, each with its keyword set.
      tags:
      - Websites
      responses:
        '200':
          description: Monitored websites
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebsiteListResponse'
        '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'
      parameters:
      - 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'
    post:
      operationId: createWebsite
      summary: Start monitoring a website
      description: 'Adds a website and, when `description` is left out, scrapes the URL to write one so mention scoring knows what the product does. That scrape uses one AI generation from the plan quota; if it fails or the quota is exhausted the website is still created with `description: null`, so set one with PATCH or `/websites/analyze-description`. Send `description: ""` to create the website with no description and skip the scrape. Keywords supplied here are stored as `PENDING` and are not monitored until `POST /keywords/activate-pending` moves them into free slots on the plan.'
      tags:
      - Websites
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebsiteRequest'
      responses:
        '201':
          description: Website created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Website'
        '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'
      parameters:
      - 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'
  /websites/{id}:
    get:
      operationId: getWebsite
      summary: Get one monitored website
      tags:
      - Websites
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Website 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:
        '200':
          description: Website
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Website'
        '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: Website not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      operationId: updateWebsite
      summary: Rename a website, rewrite its description or set its ignore list
      description: 'The description feeds mention scoring, so sharpening it changes which conversations rank as relevant. `ignoredKeywords` replaces the whole ignore list: mentions whose title or text contains any of them leave every mention list and count, and new ones are hidden as they arrive. Removing a word brings its mentions back.'
      tags:
      - Websites
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Website 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/UpdateWebsiteRequest'
      responses:
        '200':
          description: Website updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Website'
        '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: Website not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      operationId: deleteWebsite
      summary: Stop monitoring a website
      description: Removes the website and its keywords. Mentions already collected are dropped.
      tags:
      - Websites
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: Website 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:
        '200':
          description: Website deleted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedResponse'
        '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: Website not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /websites/analyze-description:
    post:
      operationId: analyzeWebsiteDescription
      summary: Draft a product description from a URL
      description: Scrapes the URL and returns a description suitable for `POST /websites`, without creating anything. Use it to review the wording before committing.
      tags:
      - Websites
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AnalyzeWebsiteRequest'
      responses:
        '201':
          description: Generated description
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalyzeWebsiteResponse'
        '400':
          description: URL could not be read
          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'
      parameters:
      - 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'
components:
  schemas:
    AnalyzeWebsiteResponse:
      type: object
      properties:
        description:
          type: string
      required:
      - description
    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
    KeywordStatus:
      type: string
      enum:
      - PENDING
      - ACTIVE
      - DISABLED
      - SUSPENDED
      description: '`PENDING` keywords are stored but not monitored until a paid slot covers them.'
    DeletedResponse:
      type: object
      properties:
        deleted:
          type: boolean
      required:
      - deleted
    UpdateWebsiteRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
          maxLength: 5000
        ignoredKeywords:
          type: array
          maxItems: 100
          items:
            type: string
            maxLength: 255
          description: Replaces the whole ignore list. Matching ignores case, blanks and duplicates are dropped, and `[]` clears it. Leave it out to keep the current list.
    WebsiteListResponse:
      type: object
      properties:
        websites:
          type: array
          items:
            $ref: '#/components/schemas/Website'
      required:
      - websites
    Keyword:
      type: object
      properties:
        id:
          type: string
          format: uuid
        websiteId:
          type: string
          format: uuid
        value:
          type: string
        status:
          $ref: '#/components/schemas/KeywordStatus'
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
        updatedAt:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - id
      - websiteId
      - value
      - status
    CreateWebsiteRequest:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          format: uri
        name:
          type: string
        keywords:
          type: array
          items:
            type: string
            maxLength: 255
        description:
          type: string
          maxLength: 5000
          description: Set it yourself to skip scraping and AI generation. An empty string stores no description and also skips them; leaving the field out has RedReplier write one.
    AnalyzeWebsiteRequest:
      type: object
      required:
      - url
      properties:
        url:
          type: string
          format: uri
    Website:
      type: object
      properties:
        id:
          type: string
          format: uuid
        accountGroupId:
          type: string
          format: uuid
        domain:
          type: string
        url:
          type: string
          format: uri
        name:
          type:
          - string
          - 'null'
        description:
          type:
          - string
          - 'null'
          description: Feeds mention scoring.
        ignoredKeywords:
          type: array
          items:
            type: string
          description: Lowercased words and phrases. A mention whose title or text contains one is hidden from every mention list and count.
        createdAt:
          type:
          - string
          - 'null'
          format: date-time
        updatedAt:
          type:
          - string
          - 'null'
          format: date-time
        keywords:
          type: array
          items:
            $ref: '#/components/schemas/Keyword'
      required:
      - id
      - domain
      - url
      - ignoredKeywords
      - keywords
  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