1Kosmos Claims API Controller API

The claims-api-controller API from 1Kosmos — 6 operation(s) for claims-api-controller.

Operations 7

PUT /api/r1/credentials/{claimDid}/documents Add document to credential #
GET /api/r1/credentials/{claimDid} Create new credentials 1 #
PATCH /api/r1/credentials/{claimDid} Update document in credential #
GET /api/r1/credentials/{claimDid}/document/{hash} Get document for claim #
GET /api/r1/credentials/user/{userdid} Get credentials for user by user id #
GET /api/r1/credentials/deploy Deploy smart contract #
DELETE /api/r1/credentials/{claimDid}/documents/{hash} Delete document from credential #

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-claims-api-controller-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-claims-api-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admin Console API Documentation Claims API Controller API
  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: claims-api-controller
paths:
  /api/r1/credentials/{claimDid}/documents:
    put:
      tags:
      - claims-api-controller
      operationId: addDocumentToCredential
      parameters:
      - name: claimDid
        in: path
        required: true
        schema:
          type: string
      - 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:
              type: object
              properties:
                file:
                  type: string
                  format: binary
              required:
              - file
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/AddDocumentResponse'
      summary: Add document to credential
      x-summary-source: derived
  /api/r1/credentials/{claimDid}:
    get:
      tags:
      - claims-api-controller
      operationId: createNewCredentials_1
      parameters:
      - name: claimDid
        in: path
        required: true
        schema:
          type: string
      - 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/VerifiableCredentials'
      summary: Create new credentials 1
      x-summary-source: derived
    patch:
      tags:
      - claims-api-controller
      operationId: updateDocumentInCredential
      parameters:
      - name: claimDid
        in: path
        required: true
        schema:
          type: string
      - 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/VerifiableCredentialsRequestModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/VerifiableCredentials'
      summary: Update document in credential
      x-summary-source: derived
  /api/r1/credentials/{claimDid}/document/{hash}:
    get:
      tags:
      - claims-api-controller
      operationId: getDocumentForClaim
      parameters:
      - name: claimDid
        in: path
        required: true
        schema:
          type: string
      - name: hash
        in: path
        required: true
        schema:
          type: string
      - 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/DocumentResponse'
      summary: Get document for claim
      x-summary-source: derived
  /api/r1/credentials/user/{userdid}:
    get:
      tags:
      - claims-api-controller
      operationId: getCredentialsForUserByUserId
      parameters:
      - name: userdid
        in: path
        required: true
        schema:
          type: string
      - 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/ClaimByUserId'
      summary: Get credentials for user by user id
      x-summary-source: derived
  /api/r1/credentials/deploy:
    get:
      tags:
      - claims-api-controller
      operationId: deploySmartContract
      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:
                type: string
      summary: Deploy smart contract
      x-summary-source: derived
  /api/r1/credentials/{claimDid}/documents/{hash}:
    delete:
      tags:
      - claims-api-controller
      operationId: deleteDocumentFromCredential
      parameters:
      - name: claimDid
        in: path
        required: true
        schema:
          type: string
      - name: hash
        in: path
        required: true
        schema:
          type: string
      - 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:
                type: string
      summary: Delete document from credential
      x-summary-source: derived
components:
  schemas:
    ClaimByUserId:
      type: object
      properties:
        credentials:
          type: array
          items:
            $ref: '#/components/schemas/VerifiableCredentials'
    AddDocumentResponse:
      type: object
      properties:
        id:
          type: string
        document:
          type: string
    VerifiableCredentialsRequestModel:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        userId:
          type: string
        issuerId:
          type: string
        senderId:
          type: string
        updatedBy:
          type: string
        name:
          type: string
        documents:
          type: string
        issuedDate:
          type: string
        expiryDate:
          type: string
        isRevoked:
          type: string
        updateReason:
          type: string
        jsonStr:
          type: string
        stdCredData:
          type: string
          writeOnly: true
    VerifiableCredentials:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        userId:
          type: string
        issuerId:
          type: string
        senderId:
          type: string
        updatedBy:
          type: string
        name:
          type: string
        documents:
          type: string
        issuedDate:
          type: string
        expiryDate:
          type: string
        isRevoked:
          type: string
        updateReason:
          type: string
        stdCredData:
          type: string
          writeOnly: true
    DocumentResponse:
      type: object
      properties:
        document:
          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)