Crossmint User Documents API

The User Documents API from Crossmint — 2 operation(s) for user documents.

Operations 2

POST /2025-06-09/documents Upload a User Document #
GET /2025-06-09/documents/{documentId} Get a User Document by ID #

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/crossmint:crossmint-user-documents-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

crossmint-user-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@crossmint.com
    name: Crossmint Support
    url: https://www.crossmint.com
  description: Generated from Crossmint's published product API specifications. Do not edit by hand.
  title: Crossmint User Documents API
  version: 1.0.0
servers:
- description: Staging environment (testnets)
  url: https://staging.crossmint.com/api
- description: Production environment (mainnets)
  url: https://www.crossmint.com/api
tags:
- name: User Documents
paths:
  /2025-06-09/documents:
    post:
      description: 'Upload a document for a user.


        **API scope required**: `users.create`'
      operationId: documents.create
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUserDocumentDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDocumentResponseDto'
          description: Document replaced successfully
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDocumentResponseDto'
          description: Document created successfully
      security:
      - apiKey: []
      summary: Upload a User Document
      tags:
      - User Documents
  /2025-06-09/documents/{documentId}:
    get:
      description: 'Get a specific document by its ID.


        **API scope required**: `users.read`'
      operationId: documents.get
      parameters:
      - in: path
        name: documentId
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserDocumentResponseDto'
          description: Document retrieved successfully
        '404':
          description: Document not found
      security:
      - apiKey: []
      summary: Get a User Document by ID
      tags:
      - User Documents
components:
  schemas:
    CreateUserDocumentDto:
      properties:
        data:
          description: Base64 encoded document data
          examples:
          - data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==
          minLength: 1
          type: string
        documentType:
          description: Type of document being uploaded
          enum:
          - id-idcard-back
          - id-idcard-front
          - id-passport
          - id-residency-permit
          - proof-of-address
          - selfie-front
          - selfie-left
          - selfie-right
          - source-of-wealth
          examples:
          - id-passport
          type: string
        expiresAt:
          description: Document expiration date in YYYY-MM-DD format
          examples:
          - 2030-12-31
          pattern: ^\d{4}-\d{2}-\d{2}$
          type: string
        reference:
          description: Reference to the user who owns this document
          examples:
          - userLocator: email:user@example.com
          properties:
            userLocator:
              description: User identifier in the format 'email:user@example.com' or 'userId:123'
              examples:
              - email:user@example.com
              minLength: 1
              type: string
          required:
          - userLocator
          type: object
      required:
      - data
      - documentType
      - reference
      type: object
    UserDocumentResponseDto:
      properties:
        createdAt:
          description: ISO 8601 timestamp when the document was created
          examples:
          - 2024-12-05 10:30:00+00:00
          type: string
        documentType:
          description: Type of document
          enum:
          - id-idcard-back
          - id-idcard-front
          - id-passport
          - id-residency-permit
          - proof-of-address
          - selfie-front
          - selfie-left
          - selfie-right
          - source-of-wealth
          examples:
          - id-passport
          type: string
        expiresAt:
          description: Document expiration date in YYYY-MM-DD format
          examples:
          - 2030-12-31
          type: string
        id:
          description: Unique identifier for the document
          examples:
          - doc_abc123xyz
          type: string
      required:
      - createdAt
      - documentType
      - id
      type: object
  securitySchemes:
    apiKey:
      description: API key required for authentication
      in: header
      name: X-API-KEY
      type: apiKey
    orderClientSecret:
      description: The `clientSecret` returned when the order was created, sent as the raw `Authorization` header value. Lets a browser or mobile client read and continue its own order without a server-side API key.
      in: header
      name: Authorization
      type: apiKey
    userJwt:
      bearerFormat: JWT
      description: 'The end user''s JWT, sent as `Authorization: Bearer <JWT>` together with a client-side API key. Validated against the project''s external JWT configuration.'
      scheme: bearer
      type: http
x-provenance:
  method: harvested
  publisher: Crossmint
  source: https://www.crossmint.com/openapi.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)