Filen Chat API

The Chat API from Filen, for chat.

GitHub OpenAPI
Business capability
In-App Chat AE-150.40

Operations 21

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

0 of 21 operations are conformant: apis.io called them with no credentials and the responses matched this contract; 3 more answered but could not be checked against a schema. Checked 2026-11-12. how this works · status file

POST /chat/send Send a chat message · Create chat send #
Ask an LLM
“How do I send a message in a conversation?”
“Can I send a chat message to a specific conversation?”
Tell an agent
Send {message} in conversation {conversation}.
Message {conversation} with {message}.
POST /chat/mute Mute or unmute a conversation · Create chat mute #
Ask an LLM
“How do I mute a conversation so I stop getting notifications?”
“Can I unmute a conversation I muted earlier?”
Tell an agent
Mute conversation {uuid} with mute set to {mute}.
Set mute to {mute} for conversation {uuid}.
POST /chat/edit Edit a sent chat message · Create chat edit #
Ask an LLM
“Can I edit a chat message I already sent?”
“How do I correct a typo in a message I sent?”
Tell an agent
Edit message {uuid} in conversation {conversation} to read {message}.
Change the text of message {uuid} to {message}.
POST /chat/message/embed/disable Disable embed previews for a message · Create chat message embed disable #
Ask an LLM
“How do I stop embed previews from showing on a message?”
“Can I disable link previews on one message?”
Tell an agent
Disable embed previews for message {uuid}.
Turn off message embeds on {uuid}.
POST /chat/conversations/delete Delete a conversation · Create chat conversations delete #
Ask an LLM
“How do I delete a conversation?”
“Can I remove a whole conversation thread?”
Tell an agent destructive · confirm first
Delete conversation {uuid}.
Remove the conversation {uuid}.
POST /chat/conversations/leave Leave a conversation · Create chat conversations leave #
Ask an LLM
“How do I leave a conversation I no longer need?”
“Can I exit a group chat?”
Tell an agent
Leave conversation {uuid}.
Exit the chat {uuid}.
POST /chat/messages Fetch chat messages · Create chat messages #
Ask an LLM
“How do I fetch the messages in a conversation?”
“Can I pull chat history for a contact?”
Tell an agent
Fetch messages for {to}.
Show chat history with {to} from {timestamp}.
POST /chat/delete Delete a chat message · Create chat delete #
Ask an LLM
“How do I delete a message I sent?”
“Can I remove one message from a conversation?”
Tell an agent destructive · confirm first
Delete message {uuid}.
Remove the chat message {uuid}.
POST /chat/typing Send typing indicators · Create chat typing #
Ask an LLM
“How do I show someone I'm typing a reply?”
“Can I send a typing indicator to a contact?”
Tell an agent
Send a typing indicator to {to}.
Tell {to} I'm typing {type}.
GET /chat/conversations List my conversations · Get chat conversations observed #
Ask an LLM
“Which conversations am I in?”
“What chat conversations do I have open?”
Tell an agent
List my conversations.
Show all my chat conversations.
GET /chat/unread Count unread chat messages · Get chat unread observed #
Ask an LLM
“How many unread messages do I have?”
“What is my total chat unread count?”
Tell an agent
Count my unread chat messages.
Show how many chat messages I haven't read.
POST /chat/conversations/unread Count unread messages in one conversation · Create chat conversations unread #
Ask an LLM
“How many unread messages are in a specific conversation?”
“Can I check the unread count for one chat?”
Tell an agent
Count unread messages in conversation {uuid}.
Show how many unread messages {uuid} has.
POST /chat/read Mark all chats as read · Create chat read #
Ask an LLM
“How do I clear all unread chat notifications?”
“Can I mark every conversation as read at once?”
Tell an agent
Mark all my chats as read.
Clear every unread chat notification.
POST /chat/conversations/read Mark one conversation as read · Create chat conversations read #
Ask an LLM
“How do I mark a single conversation as read?”
“Can I clear unread notifications for one chat?”
Tell an agent
Mark conversation {uuid} as read.
Clear unread notifications for chat {uuid}.
POST /chat/conversations/online List online users in a conversation · Create chat conversations online #
Ask an LLM
“Who is online in a conversation?”
“Can I see which participants are currently online?”
Tell an agent
List online users in conversation {conversation}.
Show who is online in chat {conversation}.
POST /chat/conversations/create Create a conversation · Create chat conversations create #
Ask an LLM
“How do I start a new conversation?”
“Can I create a chat conversation with a contact?”
Tell an agent
Create a conversation {uuid}.
Start a new chat {uuid} with metadata {metadata}.
POST /chat/conversations/name/edit Rename a conversation · Create chat conversations name edit #
Ask an LLM
“How do I rename a conversation?”
“Can I change the name of a chat?”
Tell an agent
Rename conversation {uuid} to {name}.
Set the name of chat {uuid} to {name}.
POST /chat/conversations/participants/add Add a participant to a conversation · Create chat conversations participants add #
Ask an LLM
“How do I add someone to a conversation?”
“Can I invite a contact to a chat?”
Tell an agent
Add {contactUUID} to conversation {uuid}.
Invite {contactUUID} to chat {uuid}.
POST /chat/conversations/participants/remove Remove a participant from a conversation · Create chat conversations participants remove #
Ask an LLM
“How do I remove someone from a conversation?”
“Can I kick a user out of a chat?”
Tell an agent
Remove user {userId} from conversation {uuid}.
Kick {userId} out of chat {uuid}.
GET /chat/lastFocus Get when I last focused on each conversation · Get chat last focus observed #
Ask an LLM
“When did I last open each conversation?”
“What is my last focus timestamp per conversation?”
Tell an agent
Show my last focus timestamp for each conversation.
Get when I last focused on my chats.
POST /chat/lastFocus Mark conversations as read · Create chat last focus #
Ask an LLM
“How do I update the last read timestamp of my chat conversations?”
“Can I mark several conversations as read at once?”
Tell an agent
Update the last focus timestamp for conversations {conversations}.
Mark my chat conversations as read.

Specifications

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/filen:filen-chat-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

filen-chat-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Filen Chat API
  description: 'The Filen API is used by Filen clients for uploading and downloading files, managing files and directories, sharing items, accessing notes and contacts, having chat conversations, managing user-specific settings, and more.


    ### API hosts

    The Filen API is located at `gateway.filen.io`.

    For file transfers, there''s `ingest.filen.io` and `egest.filen.io`. `ingest.filen.io` is used for uploads while `egest.filen.io` is used for downloads.


    ### API responses

    All API responses follow the scheme (TypeScript type definition):

    ```ts

    {

    status: boolean, // indicates whether the request was successful

    message: string, // additional information

    code: string, // a status code

    data: any? // optionally, response data

    }

    ```


    ### Internal endpoints

    There are a number of internal endpoints whose specifics are not documented here.

    If you need them, you can infer their definitions and usage from the TypeScript SDK''s API wrapper.'
  version: v3
servers:
- url: https://gateway.filen.io/v3
tags:
- name: Chat
paths:
  /chat/send:
    post:
      tags:
      - Chat
      description: Send a chat message
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                conversation:
                  type: string
                  example: uuidv4
                uuid:
                  type: string
                  example: uuidv4
                message:
                  type: string
                  example: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat send
      x-summary-source: derived
      operationId: postChatSend
      x-operation-id-source: derived
  /chat/mute:
    post:
      tags:
      - Chat
      description: Mute/unmute a chat
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
                mute:
                  type: string
                  example: boolean
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat mute
      x-summary-source: derived
      operationId: postChatMute
      x-operation-id-source: derived
  /chat/edit:
    post:
      tags:
      - Chat
      description: Edit a chat message
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                conversation:
                  type: string
                  example: uuidv4
                uuid:
                  type: string
                  example: uuidv4
                message:
                  type: string
                  example: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat edit
      x-summary-source: derived
      operationId: postChatEdit
      x-operation-id-source: derived
  /chat/message/embed/disable:
    post:
      tags:
      - Chat
      description: Disable message embed
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat message embed disable
      x-summary-source: derived
      operationId: postChatMessageEmbedDisable
      x-operation-id-source: derived
  /chat/conversations/delete:
    post:
      tags:
      - Chat
      description: Delete a conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations delete
      x-summary-source: derived
      operationId: postChatConversationsDelete
      x-operation-id-source: derived
  /chat/conversations/leave:
    post:
      tags:
      - Chat
      description: Leave a conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations leave
      x-summary-source: derived
      operationId: postChatConversationsLeave
      x-operation-id-source: derived
  /chat/messages:
    post:
      tags:
      - Chat
      description: Fetch chat messages
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                  example: string
                timestamp:
                  type: string
                  example: number
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: string
                    example: array
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat messages
      x-summary-source: derived
      operationId: postChatMessages
      x-operation-id-source: derived
  /chat/delete:
    post:
      tags:
      - Chat
      description: Delete a chat message
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat delete
      x-summary-source: derived
      operationId: postChatDelete
      x-operation-id-source: derived
  /chat/typing:
    post:
      tags:
      - Chat
      description: Send typing events
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
                  example: string
                type:
                  type: string
                  example: up | down
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat typing
      x-summary-source: derived
      operationId: postChatTyping
      x-operation-id-source: derived
  /chat/conversations:
    get:
      tags:
      - Chat
      description: Fetch conversations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: string
                    example: array
                xml:
                  name: main
      summary: Get chat conversations
      x-summary-source: derived
      operationId: getChatConversations
      x-operation-id-source: derived
  /chat/unread:
    get:
      tags:
      - Chat
      description: Fetch count of unread chat messages
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: object
                    properties:
                      unread:
                        type: string
                        example: number
                xml:
                  name: main
      summary: Get chat unread
      x-summary-source: derived
      operationId: getChatUnread
      x-operation-id-source: derived
  /chat/conversations/unread:
    post:
      tags:
      - Chat
      description: Fetch count of unread chat messages
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: object
                    properties:
                      unread:
                        type: string
                        example: number
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations unread
      x-summary-source: derived
      operationId: postChatConversationsUnread
      x-operation-id-source: derived
  /chat/read:
    post:
      tags:
      - Chat
      description: Delete unread chat notifications
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      summary: Create chat read
      x-summary-source: derived
      operationId: postChatRead
      x-operation-id-source: derived
  /chat/conversations/read:
    post:
      tags:
      - Chat
      description: Delete unread chat notifications
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations read
      x-summary-source: derived
      operationId: postChatConversationsRead
      x-operation-id-source: derived
  /chat/conversations/online:
    post:
      tags:
      - Chat
      description: Fetch online users in conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                conversation:
                  type: string
                  example: uuidv4
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: string
                    example: '{ userId: number; lastActive: number; appearOffline: boolean }[]'
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations online
      x-summary-source: derived
      operationId: postChatConversationsOnline
      x-operation-id-source: derived
  /chat/conversations/create:
    post:
      tags:
      - Chat
      description: Create a conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
                metadata:
                  type: string
                  example: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations create
      x-summary-source: derived
      operationId: postChatConversationsCreate
      x-operation-id-source: derived
  /chat/conversations/name/edit:
    post:
      tags:
      - Chat
      description: Edit conversation name
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
                name:
                  type: string
                  example: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations name edit
      x-summary-source: derived
      operationId: postChatConversationsNameEdit
      x-operation-id-source: derived
  /chat/conversations/participants/add:
    post:
      tags:
      - Chat
      description: Add a participant to a chat conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
                contactUUID:
                  type: string
                  example: uuidv4
                metadata:
                  type: string
                  example: string
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations participants add
      x-summary-source: derived
      operationId: postChatConversationsParticipantsAdd
      x-operation-id-source: derived
  /chat/conversations/participants/remove:
    post:
      tags:
      - Chat
      description: Remove a participant from a chat conversation
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                uuid:
                  type: string
                  example: uuidv4
                userId:
                  type: string
                  example: number
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat conversations participants remove
      x-summary-source: derived
      operationId: postChatConversationsParticipantsRemove
      x-operation-id-source: derived
  /chat/lastFocus:
    get:
      tags:
      - Chat
      description: Retrieve lastFocus timestamp of conversations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                  data:
                    type: string
                    example: '{ uuid: uuidv4, lastFocus: number }[]'
                xml:
                  name: main
      summary: Get chat last focus
      x-summary-source: derived
      operationId: getChatLastFocus
      x-operation-id-source: derived
    post:
      tags:
      - Chat
      description: Update lastFocus timestamp of conversations
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                conversations:
                  type: string
                  example: '{ uuid: uuidv4, lastFocus: number }[]'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: boolean
                  message:
                    type: string
                    example: string
                  code:
                    type: string
                    example: string
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create chat last focus
      x-summary-source: derived
      operationId: postChatLastFocus
      x-operation-id-source: derived
components:
  securitySchemes:
    api_key:
      type: apiKey
      name: API Key
      in: header
externalDocs:
  description: Get general information about usage of the Filen API at docs.filen.io
  url: https://docs.filen.io/docs/api