Diaspora Conversations API

The Conversations API from Diaspora — 3 operation(s) for conversations.

GitHub OpenAPI
Business capability
Social Networks & Community AE-170.50

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /conversations List all conversations · Get list of all conversations #
Ask an LLM
“Which conversations do I have in diaspora*?”
“Can I see every conversation at once?”
Tell an agent
List all my conversations.
Show every conversation I'm in.
POST /conversations Start a new conversation · Create new conversation #
Ask an LLM
“How do I start a new conversation with someone?”
“Can I create a conversation without a message?”
Tell an agent
Create a new conversation.
Start a fresh conversation.
GET /conversations/{conversation_guid} Get a conversation · Get information about a single conversation #
Ask an LLM
“What are the details of one conversation?”
“Can I look up a conversation by its GUID?”
Tell an agent
Show conversation {conversation_guid}.
Get the details of conversation {conversation_guid}.
DELETE /conversations/{conversation_guid} Hide a conversation · Ignore and hide a conversation #
Ask an LLM
“How do I hide a conversation I don't want to see?”
“Can I ignore a conversation without deleting it?”
Tell an agent destructive · confirm first
Hide conversation {conversation_guid}.
Ignore conversation {conversation_guid}.
PATCH /conversations/{conversation_guid} Mark a conversation as read · Mark a conversation as read #
Ask an LLM
“How do I mark a conversation as read?”
“Can I mark a conversation as read without replying?”
Tell an agent
Mark conversation {conversation_guid} as read.
Set conversation {conversation_guid} to read.
GET /conversations/{conversation_guid}/messages List messages in a conversation · List messages in a conversation #
Ask an LLM
“What messages are in a conversation?”
“Can I see the full message history of one conversation?”
Tell an agent
List the messages in conversation {conversation_guid}.
Show the message history of conversation {conversation_guid}.
POST /conversations/{conversation_guid}/messages Send a message to a conversation · Post new message to a conversation #
Ask an LLM
“How do I reply to a conversation?”
“Can I post a message to an existing conversation?”
Tell an agent
Send a message to conversation {conversation_guid}.
Post a reply in conversation {conversation_guid}.

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/diaspora:diaspora-conversations-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

diaspora-conversations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: diaspora* Conversations API
  version: '1'
  description: The diaspora* API (version 1) as published in the official diaspora* API documentation.
  contact:
    name: diaspora* project
    url: https://diasporafoundation.org/
  license:
    name: AGPL-3.0
    url: https://github.com/diaspora/diaspora/blob/develop/COPYRIGHT
servers:
- url: https://{pod}/api/v1
  description: Any diaspora* pod running a compatible release. Discover support via nodeinfo at https://{pod}/.well-known/nodeinfo.
  variables:
    pod:
      default: diaspora.social
      description: Hostname of the diaspora* pod to talk to.
tags:
- name: Conversations
paths:
  /conversations:
    get:
      operationId: getConversations
      summary: Get list of all conversations
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
    post:
      operationId: createConversations
      summary: Create new conversation
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Couldn't accept or process the conversation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
  /conversations/{conversation_guid}:
    get:
      operationId: getConversationsByConversationGuid
      summary: Get information about a single conversation
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      parameters:
      - name: conversation_guid
        in: path
        required: true
        description: GUID of the conversation.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation with provided guid could not be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
    delete:
      operationId: deleteConversationsByConversationGuid
      summary: Ignore and hide a conversation
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      parameters:
      - name: conversation_guid
        in: path
        required: true
        description: GUID of the conversation.
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation with provided guid could not be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
    patch:
      operationId: updateConversationsByConversationGuid
      summary: Mark a conversation as read
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      parameters:
      - name: conversation_guid
        in: path
        required: true
        description: GUID of the conversation.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation with provided guid could not be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
  /conversations/{conversation_guid}/messages:
    get:
      operationId: getConversationsByConversationGuidMessages
      summary: List messages in a conversation
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      parameters:
      - name: conversation_guid
        in: path
        required: true
        description: GUID of the conversation.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation with provided guid could not be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
    post:
      operationId: createConversationsByConversationGuidMessages
      summary: Post new message to a conversation
      tags:
      - Conversations
      description: 'Required API scope: conversations'
      parameters:
      - name: conversation_guid
        in: path
        required: true
        description: GUID of the conversation.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
        '401':
          description: The API request requires authorization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Conversation with provided guid could not be found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Couldn't accept or process the conversation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - openIdConnect:
        - openid
        - conversations
components:
  schemas:
    Error:
      type: object
      description: Error envelope returned by the diaspora* API.
      properties:
        code:
          type: integer
          description: HTTP status code.
          example: 404
        message:
          type: string
          description: Human readable error message.
          example: Requested entity wasn't found
  securitySchemes:
    openIdConnect:
      type: openIdConnect
      description: OpenID Connect Core 1.0 (Authorization Code Flow or Implicit Flow) with Dynamic Client Registration 1.0. The openid scope is mandatory; public:read is always granted.
      openIdConnectUrl: https://diaspora.social/.well-known/openid-configuration
externalDocs:
  description: diaspora* API documentation
  url: https://diaspora.github.io/api-documentation/