Iridium Chats API

The chats API from Iridium — 14 operation(s) for chats.

GitHub OpenAPI

Operations 14

GET /chats List Chats #
POST /chats/backfill Backfill Chats #
GET /chats/{chat_id}/messages Get Chat Messages #
GET /chats/{chat_id}/thread Get Thread #
GET /chats/search Search Chats #
GET /chats/stale Find Stale Threads #
GET /chats/classify Classify Inbox #
GET /chats/{chat_id}/summary Summarize Thread #
GET /chats/reply-drafts List Reply Drafts #
POST /chats/reply-drafts/{draft_id}/approve Approve Reply Draft #
POST /chats/reply-drafts/{draft_id}/rewrite Rewrite Reply Draft #
POST /chats/reply-drafts/{draft_id}/skip Skip Reply Draft #
POST /chats/{chat_id}/draft-reply Draft Reply #
PATCH /chats/{chat_id}/state Update Chat State #

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/iridiumhqmcp-com:iridiumhqmcp-com-chats-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

iridiumhqmcp-com-chats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Iridiumhqmcp Com Chats API
  version: 0.1.0
  description: 'Operations tagged chats across 2 of this provider''s published API definitions: openapi.json, iridiumhqmcp-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Chats
paths:
  /chats:
    get:
      tags:
      - Chats
      summary: List Chats
      operationId: list_chats_chats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /chats/backfill:
    post:
      tags:
      - Chats
      summary: Backfill Chats
      operationId: backfill_chats_chats_backfill_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /chats/{chat_id}/messages:
    get:
      tags:
      - Chats
      summary: Get Chat Messages
      operationId: get_chat_messages_chats__chat_id__messages_get
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/{chat_id}/thread:
    get:
      tags:
      - Chats
      summary: Get Thread
      description: 'Local-first thread read: messages from the store, seeded once from Unipile on first

        open, scrolled up via `before` (an ISO timestamp from the prior page''s next_cursor).'
      operationId: get_thread_chats__chat_id__thread_get
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: before
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Before
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 10
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/search:
    get:
      tags:
      - Chats
      summary: Search Chats
      description: Local inbox search — message content + operator-grammar filters. No LinkedIn quota.
      operationId: search_chats_chats_search_get
      security:
      - HTTPBearer: []
      parameters:
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Q
      - name: is_unread
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Unread
      - name: from_name
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: From Name
      - name: company
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Company
      - name: after
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: After
      - name: before
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Before
      - name: newer_days
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Newer Days
      - name: older_days
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Older Days
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/stale:
    get:
      tags:
      - Chats
      summary: Find Stale Threads
      description: Threads with no activity in `days`, tagged ghosted | owed_reply.
      operationId: find_stale_threads_chats_stale_get
      security:
      - HTTPBearer: []
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          default: 7
          title: Days
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/classify:
    get:
      tags:
      - Chats
      summary: Classify Inbox
      description: Triage the inbox into buckets with confidence (cache-first, bounded per call).
      operationId: classify_inbox_chats_classify_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 25
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/{chat_id}/summary:
    get:
      tags:
      - Chats
      summary: Summarize Thread
      description: Structured, cached summary of one thread.
      operationId: summarize_thread_chats__chat_id__summary_get
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: force
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Force
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/reply-drafts:
    get:
      tags:
      - Chats
      summary: List Reply Drafts
      operationId: list_reply_drafts_chats_reply_drafts_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /chats/reply-drafts/{draft_id}/approve:
    post:
      tags:
      - Chats
      summary: Approve Reply Draft
      operationId: approve_reply_draft_chats_reply_drafts__draft_id__approve_post
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Draft Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApproveReplyBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/reply-drafts/{draft_id}/rewrite:
    post:
      tags:
      - Chats
      summary: Rewrite Reply Draft
      operationId: rewrite_reply_draft_chats_reply_drafts__draft_id__rewrite_post
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Draft Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RewriteReplyBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/reply-drafts/{draft_id}/skip:
    post:
      tags:
      - Chats
      summary: Skip Reply Draft
      operationId: skip_reply_draft_chats_reply_drafts__draft_id__skip_post
      security:
      - HTTPBearer: []
      parameters:
      - name: draft_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Draft Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/{chat_id}/draft-reply:
    post:
      tags:
      - Chats
      summary: Draft Reply
      operationId: draft_reply_chats__chat_id__draft_reply_post
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DraftReplyBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chats/{chat_id}/state:
    patch:
      tags:
      - Chats
      summary: Update Chat State
      operationId: update_chat_state_chats__chat_id__state_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatStateBody'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ChatStateBody:
      properties:
        state:
          type: string
          title: State
      type: object
      required:
      - state
      title: ChatStateBody
    DraftReplyBody:
      properties:
        intent:
          anyOf:
          - type: string
          - type: 'null'
          title: Intent
      type: object
      title: DraftReplyBody
    ApproveReplyBody:
      properties:
        send_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Send At
        override_text:
          anyOf:
          - type: string
          - type: 'null'
          title: Override Text
      type: object
      title: ApproveReplyBody
    RewriteReplyBody:
      properties:
        instruction:
          type: string
          title: Instruction
      type: object
      required:
      - instruction
      title: RewriteReplyBody
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-refined-from:
- openapi.json
- iridiumhqmcp-com-openapi.json
x-provenance:
  method: harvested
  publisher: Iridium
  source: https://api.iridiumhqmcp.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)