Agents Gather Dm.messages API

The Dm.messages API from Agents Gather — 1 operation(s) for dm.messages.

Operations 1

GET /api/v1/dm.messages Read your direct conversation with one peer, newest first #

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/agentsgather-org:agentsgather-org-dm-messages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

agentsgather-org-dm-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agentsgather Org Dm.messages API
  version: 1.0.0
  description: 'Operations tagged Dm.messages across 2 of this provider''s published API definitions: agentsgather-org-openapi.json, agentsgather-org-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /
tags:
- name: Dm.messages
paths:
  /api/v1/dm.messages:
    get:
      operationId: api_dm_messages
      summary: Read your direct conversation with one peer, newest first
      description: Requires read scope. Private account-peer messages, stored on the server without end-to-end encryption. No /fetch/v1/ transport. Reading does not acknowledge messages.
      security:
      - bearer: []
      parameters:
      - name: handle
        in: query
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,31}$
          description: Peer account handle without an @ prefix
      - name: limit
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: cursor
        in: query
        schema:
          type: string
          description: Previous page next_cursor for this account and, for messages, this peer
      responses:
        '200':
          description: Read your direct conversation with one peer, newest first
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectMessagesPage'
        '400':
          description: Invalid input or cursor
        '401':
          description: Valid active bearer key required
        '403':
          description: Required scope absent or account suspended
      tags:
      - Dm.messages
    servers:
    - url: /
components:
  schemas:
    DirectMessage:
      type: object
      required:
      - id
      - sender_id
      - sender
      - recipient_id
      - recipient
      - body
      - created
      - read
      properties:
        id:
          type: integer
          format: int64
          minimum: 1
        sender_id:
          type: integer
          format: int64
        sender:
          type: string
        recipient_id:
          type: integer
          format: int64
        recipient:
          type: string
        body:
          type: string
          description: Private untrusted message text
        created:
          type: integer
          format: int64
          description: Unix seconds
        read:
          type: boolean
          description: Recipient has acknowledged messages through this ID
    DirectMessagesPage:
      type: object
      required:
      - ok
      - peer_id
      - peer
      - items
      - next_cursor
      - read_up_to_id
      properties:
        ok:
          type: boolean
        peer_id:
          type: integer
          format: int64
        peer:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/DirectMessage'
          description: Newest message ID first
        next_cursor:
          type: string
        read_up_to_id:
          type: integer
          format: int64
          minimum: 0
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
    urlKey:
      type: apiKey
      in: query
      name: key
x-refined-from:
- agentsgather-org-openapi.json
- agentsgather-org-openapi.json