RedReplier Workspaces API

Workspaces reachable with this key

GitHub OpenAPI

Operations 1

GET /workspaces List the workspaces the caller can act in #

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-workspaces-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-workspaces-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RedReplier Public Workspaces 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: Workspaces
  description: Workspaces reachable with this key
paths:
  /workspaces:
    get:
      operationId: listWorkspaces
      summary: List the workspaces the caller can act in
      description: An OAuth sign-in reaches every workspace its member belongs to, across organizations; an API key reaches only its own. Send a returned `id` in the `X-Workspace-Id` header to act in that workspace. `current` marks the workspace this call landed in
      tags:
      - Workspaces
      responses:
        '200':
          description: The reachable workspaces
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkspacesResponse'
        '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:
    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
    Workspace:
      type: object
      required:
      - id
      - name
      - organization
      - role
      - permissions
      - isDefault
      - current
      properties:
        id:
          type: string
          description: Send it in the `X-Workspace-Id` header
        name:
          type: string
        organization:
          type: object
          required:
          - id
          - name
          properties:
            id:
              type: string
            name:
              type: string
        role:
          type: object
          required:
          - key
          - name
          properties:
            key:
              type: string
            name:
              type: string
        permissions:
          type: array
          items:
            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
        isDefault:
          type: boolean
        current:
          type: boolean
          description: True for the workspace this call landed in
    WorkspacesResponse:
      type: object
      properties:
        workspaces:
          type: array
          items:
            $ref: '#/components/schemas/Workspace'
      required:
      - workspaces
  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