1Kosmos Otpr 3 Controller API

The otpr-3-controller API from 1Kosmos — 2 operation(s) for otpr-3-controller.

Operations 2

POST /api/r3/otp/verify Verify OTP code #
POST /api/r3/otp/generate Generate new OTP code #

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-otpr-3-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-otpr-3-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admin Console API Documentation Otpr 3 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: otpr-3-controller
paths:
  /api/r3/otp/verify:
    post:
      tags:
      - otpr-3-controller
      operationId: verifyOTPCode
      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/OtpVerifyRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
      summary: Verify OTP code
      x-summary-source: derived
  /api/r3/otp/generate:
    post:
      tags:
      - otpr-3-controller
      operationId: generateNewOTPCode
      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/OTPRequestModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
      summary: Generate new OTP code
      x-summary-source: derived
components:
  schemas:
    OTPRequestModel:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        tenantId:
          type: string
        communityId:
          type: string
        serviceName:
          type: string
        requestedAtMS:
          type: integer
          format: int64
        smsTo:
          type: string
        emailTo:
          type: string
        voiceTo:
          type: string
        fname:
          type: string
        lname:
          type: string
        voiceISDCode:
          type: string
        voiceCampaignId:
          type: string
        voiceCallTimeout:
          type: integer
          format: int32
        smsISDCode:
          type: string
        smsTemplateB64:
          type: string
        emailTemplateB64:
          type: string
        voiceTemplateB64:
          type: string
        ivrTemplateB64:
          type: string
        ivrSessionUrlB64:
          type: string
        ivrTo:
          type: string
        ivrISDCode:
          type: string
        emailFrom:
          type: string
        smsFrom:
          type: string
        voiceFrom:
          type: string
        emailSubject:
          type: string
        messageId:
          type: string
        smsTemplateId:
          type: string
        scheduledAtMS:
          type: integer
          format: int64
        requestLicenseLevel:
          type: string
        tenantName:
          type: string
        tenantDNS:
          type: string
        communityName:
          type: string
        trace:
          type: boolean
        gatewayGroupName:
          type: string
        requestId:
          type: string
        journeyId:
          type: string
        eventData:
          type: object
          additionalProperties: {}
        userId:
          type: string
        userPublicKey:
          type: string
        type:
          type: string
        validitySeconds:
          type: integer
          format: int32
        returnOTP:
          type: boolean
        otpRequested:
          type: string
        data:
          type: string
        isCycleTimeRequired:
          type: boolean
        idTS:
          type: integer
          format: int32
    OtpVerifyRequest:
      type: object
      properties:
        userId:
          type: string
        password:
          type: string
        code:
          type: string
        userPublicKey:
          type: string
        type:
          type: string
        tenantId:
          type: string
        communityId:
          type: string
        serviceName:
          type: string
        serviceNames:
          type: array
          items:
            type: string
        data:
          type: string
        eventData:
          type: object
          additionalProperties: {}
  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)