Modulr Document API

Operations on Documents

Operations 2

POST /documents Uploads and stores document #
POST /customers/{customerId}/documents Uploads and stores documents associated with an existing customer record #

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/modulr-document-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

modulr-document-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Modulr Document API
  description: Modulr API
  license:
    name: © Modulr Finance
    url: https://www.modulrfinance.com
  version: '1.0'
servers:
- url: https://api-sandbox.modulrfinance.com/api-sandbox-token
security:
- modulo_security: []
tags:
- name: Document
  description: Operations on Documents
paths:
  /documents:
    post:
      tags:
      - Document
      summary: Uploads and stores document
      description: Uploads and stores document in a repository. Gives back Url encoded document path in the repository
      operationId: upload
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/document.DocumentUploadRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/document.DocumentResponse'
        '400':
          description: Validation errors
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/document.MessageResponse'
      security:
      - HMAC: []
      - TOKEN: []
  /customers/{customerId}/documents:
    post:
      tags:
      - Document
      summary: Uploads and stores documents associated with an existing customer record
      description: Upload and store documents related to an existing customer, typically those collected during Know Your Customer (KYC) or Know Your Business (KYB) verification processes
      operationId: upload_1
      parameters:
      - name: customerId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/document.CustomerDocumentUploadRequest'
        required: true
      responses:
        '204':
          description: NO_CONTENT
        '400':
          description: Validation errors
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/document.MessageResponse'
        '403':
          description: Incorrect permissions
      security:
      - HMAC: []
      - TOKEN: []
components:
  schemas:
    document.CustomerDocumentUploadRequest:
      type: object
      properties:
        fileName:
          type: string
          maxLength: 100
          minLength: 0
          pattern: ^[\w\s-.]+\.(\w){3,4}$
        content:
          type: string
          description: Needs to be Base64 encoded
          minLength: 1
        type:
          type: string
          description: Document type uploaded for customer
          enum:
          - ID_DOCUMENT
          - PROOF_OF_ADDRESS
          - BUSINESS_DOCUMENTATION
      required:
      - content
      - fileName
      - type
    document.DocumentResponse:
      type: object
      properties:
        path:
          type: string
        fileName:
          type: string
    document.DocumentUploadRequest:
      type: object
      properties:
        fileName:
          type: string
          maxLength: 100
          minLength: 0
          pattern: ^[\w,\s-.]+\.(\w){3,4}$
        content:
          type: string
          description: Needs to be Base64 encoded
          minLength: 1
        group:
          type: string
          description: Use to group documents together. Combination of group+filename should be unique else the files will be overwritten
          maxLength: 100
          minLength: 0
      required:
      - content
      - fileName
      - group
    document.MessageResponse:
      type: object
      properties:
        field:
          type: string
        code:
          type: string
          enum:
          - GENERAL
          - BUSINESSRULE
          - MFASTATUS
          - MFAERROR
          - MFATIMEOUT
          - MFADEVICEMM
          - MFAMESSAGEINVALID
          - NOTFOUND
          - DUPLICATE
          - INVALID
          - CONNECTION
          - RETRY
          - RATELIMIT
          - PERMISSION
          - NOTACCEPTABLE
          - MFAVERIFICATION
          - TOKENEXPIRED
        errorCode:
          type: string
        message:
          type: string
        sourceService:
          type: string
  securitySchemes:
    modulo_security:
      type: apiKey
      name: Authorization
      in: header
    TOKEN:
      type: apiKey
      name: Authorization
      in: header
x-readme:
  proxy-enabled: false