1Kosmos Verification of Document : Agent API

The Verification of Document : Agent API from 1Kosmos — 2 operation(s) for verification of document : agent.

Operations 2

POST /api/r1/userdocs/userdid/{userdid}/verify/agent Agent Verification of submitted documents #
GET /api/r1/userdocs/userdid/{userdid}/token/{tokenId} Get Documents #

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/1kosmos:1kosmos-verification-of-document-agent-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

1kosmos-verification-of-document-agent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admin Console API Documentation Verification of Document…
  description: API documentation for Admin Console
  contact:
    name: OneKosmos
    email: support@onekosmos.com
  license:
    name: Apache 2.0
    url: http://springdoc.org
  version: '1.0'
servers:
- url: https://blockid-trial.1kosmos.net
  description: Generated server url
security:
- ApiKeyAuth: []
tags:
- name: 'Verification of Document : Agent'
paths:
  /api/r1/userdocs/userdid/{userdid}/verify/agent:
    post:
      tags:
      - 'Verification of Document : Agent'
      summary: Agent Verification of submitted documents
      description: 'Submit a document for Agent Verification


        - Supported documents for verifications include DL and Passport

        - The document is submited for Agent verification and the API returns a requestId in the response.'
      operationId: verifyDocumentViaAgent
      parameters:
      - name: publickey
        in: header
        description: Public key of the client
        required: true
        schema:
          type: string
      - name: licensekey
        in: header
        description: License key encrypted with ECDSA
        required: true
        schema:
          type: string
      - name: requestId
        in: header
        description: JSON string encrypted with ECDSA containing appid, uuid, and ts
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentDocumentVerificationRequest'
        required: true
      responses:
        '201':
          description: CREATED
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocVerificationResponse'
        '401':
          description: 'message : Request has expired.'
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
        '403':
          description: 'message : Unauthorized.'
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
      security:
      - keyId: []
      - keySecret: []
      - license: []
  /api/r1/userdocs/userdid/{userdid}/token/{tokenId}:
    get:
      tags:
      - 'Verification of Document : Agent'
      summary: Get Documents
      description: 'Submit a document for Auto Verification


        - API is only available on the root instance.

        - Gets the document verification result for a specific ''requestId''

        - The requestId is generated when the document is submitted for Agent verification.

        - The ''requestId'' is referred to as ''tokenId'' in this API.'
      operationId: getDocumentStatus
      parameters:
      - name: publickey
        in: header
        description: Public key of the client
        required: true
        schema:
          type: string
      - name: licensekey
        in: header
        description: License key encrypted with ECDSA
        required: true
        schema:
          type: string
      - name: requestId
        in: header
        description: JSON string encrypted with ECDSA containing appid, uuid, and ts
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/DocVerificationResponse'
        '202':
          description: Please check back in some time.
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
        '401':
          description: 'message : Request has expired.'
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
        '403':
          description: 'message : Unauthorized.'
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
        '404':
          description: 'message : Request Id does not exist.'
          content:
            '*/*':
              schema:
                type: object
                additionalProperties:
                  type: string
      security:
      - keyId: []
      - keySecret: []
      - license: []
components:
  schemas:
    DeviceExtractedData:
      type: object
      properties:
        dataType:
          type: string
        data:
          type: string
    ImageEvidence:
      type: object
      properties:
        data:
          type: string
        customerReferenceId:
          type: string
        encodedData:
          $ref: '#/components/schemas/PDF417Data'
    AgentDocumentVerificationRequest:
      type: object
      description: Request Body for the API
      properties:
        customerReferenceId:
          type: string
        images:
          type: array
          items:
            $ref: '#/components/schemas/ImageEvidence'
        deviceExtractedData:
          type: array
          items:
            $ref: '#/components/schemas/DeviceExtractedData'
        data:
          type: string
    PDF417Data:
      type: object
      properties:
        pdf417:
          type: string
    DocVerificationResponse:
      type: object
      properties:
        verificationMethod:
          type: string
        statusCode:
          type: string
          enum:
          - 100 CONTINUE
          - 101 SWITCHING_PROTOCOLS
          - 102 PROCESSING
          - 103 EARLY_HINTS
          - 200 OK
          - 201 CREATED
          - 202 ACCEPTED
          - 203 NON_AUTHORITATIVE_INFORMATION
          - 204 NO_CONTENT
          - 205 RESET_CONTENT
          - 206 PARTIAL_CONTENT
          - 207 MULTI_STATUS
          - 208 ALREADY_REPORTED
          - 226 IM_USED
          - 300 MULTIPLE_CHOICES
          - 301 MOVED_PERMANENTLY
          - 302 FOUND
          - 303 SEE_OTHER
          - 304 NOT_MODIFIED
          - 307 TEMPORARY_REDIRECT
          - 308 PERMANENT_REDIRECT
          - 400 BAD_REQUEST
          - 401 UNAUTHORIZED
          - 402 PAYMENT_REQUIRED
          - 403 FORBIDDEN
          - 404 NOT_FOUND
          - 405 METHOD_NOT_ALLOWED
          - 406 NOT_ACCEPTABLE
          - 407 PROXY_AUTHENTICATION_REQUIRED
          - 408 REQUEST_TIMEOUT
          - 409 CONFLICT
          - 410 GONE
          - 411 LENGTH_REQUIRED
          - 412 PRECONDITION_FAILED
          - 413 CONTENT_TOO_LARGE
          - 413 PAYLOAD_TOO_LARGE
          - 414 URI_TOO_LONG
          - 415 UNSUPPORTED_MEDIA_TYPE
          - 416 REQUESTED_RANGE_NOT_SATISFIABLE
          - 417 EXPECTATION_FAILED
          - 418 I_AM_A_TEAPOT
          - 421 MISDIRECTED_REQUEST
          - 422 UNPROCESSABLE_CONTENT
          - 422 UNPROCESSABLE_ENTITY
          - 423 LOCKED
          - 424 FAILED_DEPENDENCY
          - 425 TOO_EARLY
          - 426 UPGRADE_REQUIRED
          - 428 PRECONDITION_REQUIRED
          - 429 TOO_MANY_REQUESTS
          - 431 REQUEST_HEADER_FIELDS_TOO_LARGE
          - 451 UNAVAILABLE_FOR_LEGAL_REASONS
          - 500 INTERNAL_SERVER_ERROR
          - 501 NOT_IMPLEMENTED
          - 502 BAD_GATEWAY
          - 503 SERVICE_UNAVAILABLE
          - 504 GATEWAY_TIMEOUT
          - 505 HTTP_VERSION_NOT_SUPPORTED
          - 506 VARIANT_ALSO_NEGOTIATES
          - 507 INSUFFICIENT_STORAGE
          - 508 LOOP_DETECTED
          - 509 BANDWIDTH_LIMIT_EXCEEDED
          - 510 NOT_EXTENDED
          - 511 NETWORK_AUTHENTICATION_REQUIRED
        responseData:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: licensekey
      in: header
x-provenance:
  method: harvested
  publisher: 1Kosmos
  source: https://blockid-trial.1kosmos.net/v3/api-docs
  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)