Filen Contacts API

The contacts API from Filen — 12 operation(s) for contacts.

Operations 12

GET /contacts Get contacts #
GET /contacts/requests/in Get contacts requests in #
GET /contacts/requests/in/count Get contacts requests in count #
GET /contacts/requests/out Get contacts requests out #
POST /contacts/requests/out/delete Create contacts requests out delete #
POST /contacts/requests/send Create contacts requests send #
POST /contacts/requests/accept Create contacts requests accept #
POST /contacts/requests/deny Create contacts requests deny #
POST /contacts/delete Create contacts delete #
GET /contacts/blocked Get contacts blocked #
POST /contacts/blocked/delete Create contacts blocked delete #
POST /contacts/blocked/add Create contacts blocked add #

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-contacts-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

filen-contacts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Filen Contacts 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: Contacts
paths:
  /contacts:
    get:
      tags:
      - Contacts
      description: Fetch all contacts
      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: string, userId: string, email: string, avatar: string | null, nickName: string, lastActive: number, timestamp: number }[]'
                xml:
                  name: main
      summary: Get contacts
      x-summary-source: derived
      operationId: getContacts
      x-operation-id-source: derived
  /contacts/requests/in:
    get:
      tags:
      - Contacts
      description: Fetch all incoming contact requests
      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: string, userId: number, email: string, avatar: string | null, nickName: string, timestamp: number }[]'
                xml:
                  name: main
      summary: Get contacts requests in
      x-summary-source: derived
      operationId: getContactsRequestsIn
      x-operation-id-source: derived
  /contacts/requests/in/count:
    get:
      tags:
      - Contacts
      description: Fetch all incoming contact requests
      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: number
                xml:
                  name: main
      summary: Get contacts requests in count
      x-summary-source: derived
      operationId: getContactsRequestsInCount
      x-operation-id-source: derived
  /contacts/requests/out:
    get:
      tags:
      - Contacts
      description: Fetch all outgoing contact requests
      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: string, userId: number, email: string, avatar: string | null, firstName: string | null, lastName: string | null, timestamp: number }[]'
                xml:
                  name: main
      summary: Get contacts requests out
      x-summary-source: derived
      operationId: getContactsRequestsOut
      x-operation-id-source: derived
  /contacts/requests/out/delete:
    post:
      tags:
      - Contacts
      description: Delete outgoing contact request
      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 contacts requests out delete
      x-summary-source: derived
      operationId: postContactsRequestsOutDelete
      x-operation-id-source: derived
  /contacts/requests/send:
    post:
      tags:
      - Contacts
      description: Send a contact request
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  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 contacts requests send
      x-summary-source: derived
      operationId: postContactsRequestsSend
      x-operation-id-source: derived
  /contacts/requests/accept:
    post:
      tags:
      - Contacts
      description: Accept a contact request
      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 contacts requests accept
      x-summary-source: derived
      operationId: postContactsRequestsAccept
      x-operation-id-source: derived
  /contacts/requests/deny:
    post:
      tags:
      - Contacts
      description: Deny a contact request
      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 contacts requests deny
      x-summary-source: derived
      operationId: postContactsRequestsDeny
      x-operation-id-source: derived
  /contacts/delete:
    post:
      tags:
      - Contacts
      description: Delete a contact
      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 contacts delete
      x-summary-source: derived
      operationId: postContactsDelete
      x-operation-id-source: derived
  /contacts/blocked:
    get:
      tags:
      - Contacts
      description: Fetch all blocked contacts
      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, userId: number, email: string, avatar: string | null, nickName: string, timestamp: number }[]'
                xml:
                  name: main
      summary: Get contacts blocked
      x-summary-source: derived
      operationId: getContactsBlocked
      x-operation-id-source: derived
  /contacts/blocked/delete:
    post:
      tags:
      - Contacts
      description: Delete a contact block
      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 contacts blocked delete
      x-summary-source: derived
      operationId: postContactsBlockedDelete
      x-operation-id-source: derived
  /contacts/blocked/add:
    post:
      tags:
      - Contacts
      description: Add a contact block
      requestBody:
        description: Body JSON
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  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
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                        example: uuidv4
                xml:
                  name: main
      x-codegen-request-body-name: body
      summary: Create contacts blocked add
      x-summary-source: derived
      operationId: postContactsBlockedAdd
      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