1Kosmos User Profile API

The User Profile API from 1Kosmos — 8 operation(s) for user profile.

Operations 10

GET /api/r1/community/{communityName}/userdid/{userdid}/profileimage Fetch user profile image #
PUT /api/r1/community/{communityName}/userdid/{userdid}/profileimage Save user profile image #
DELETE /api/r1/community/{communityName}/userdid/{userdid}/profileimage Delete user profile image #
POST /api/r1/community/{communityName}/userdid/{userdid}/userinfo/fetch Fetch user linking details by personId with list of users linked - Latest record #
POST /api/r1/community/{communityName}/user/login_options/fetch Fetch a user's enrolled login options #
POST /api/r1/community/{communityName}/authenticateuser Authenticate user #
GET /api/r1/community/{communityName}/userid/{userid}/userinfo Fetch user linking details by userId - Latest record #
GET /api/r1/community/{communityName}/userid/{userid}/details Fetch user linking details by userId - All records for user #
GET /api/r1/community/{communityName}/userdid/{userdid}/userinfo Fetch user linking details by personId - Latest record #
GET /api/r1/community/{communityName}/userdid/{did}/roles Get roles for user #

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-user-profile-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-user-profile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Admin Console API Documentation User Profile 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: User Profile
paths:
  /api/r1/community/{communityName}/userdid/{userdid}/profileimage:
    get:
      tags:
      - User Profile
      summary: Fetch user profile image
      operationId: getProfileImage
      parameters:
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - 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:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
    put:
      tags:
      - User Profile
      summary: Save user profile image
      operationId: saveProfileImage
      parameters:
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - 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
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
    delete:
      tags:
      - User Profile
      summary: Delete user profile image
      operationId: deleteProfileImage
      parameters:
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - 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:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /api/r1/community/{communityName}/userdid/{userdid}/userinfo/fetch:
    post:
      tags:
      - User Profile
      summary: Fetch user linking details by personId with list of users linked - Latest record
      description: (new) otpseed can only be requested by the linked device (returned as encrypted paylaod)
      operationId: getUserInfoAndFetchUser
      parameters:
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - 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
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetUserInfoAndFetchUserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /api/r1/community/{communityName}/user/login_options/fetch:
    post:
      tags:
      - User Profile
      summary: Fetch a user's enrolled login options
      operationId: fetchLoginOptions
      parameters:
      - name: communityName
        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/LoginOptionsRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
  /api/r1/community/{communityName}/authenticateuser:
    post:
      tags:
      - User Profile
      summary: Authenticate user
      operationId: validateUserInfo
      parameters:
      - name: communityName
        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/RequestModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /api/r1/community/{communityName}/userid/{userid}/userinfo:
    get:
      tags:
      - User Profile
      summary: Fetch user linking details by userId - Latest record
      operationId: getUserIDInfo
      parameters:
      - name: devicelist
        in: query
        required: false
        schema:
          type: boolean
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - name: userid
        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:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /api/r1/community/{communityName}/userid/{userid}/details:
    get:
      tags:
      - User Profile
      summary: Fetch user linking details by userId - All records for user
      operationId: getUserDetails
      parameters:
      - name: devicelist
        in: query
        required: false
        schema:
          type: boolean
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - name: userid
        in: path
        required: true
        schema:
          type: string
      - name: fetch_ial
        in: query
        required: false
        schema:
          type: boolean
          default: true
      - 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:
            application/json:
              schema:
                type: object
                additionalProperties: {}
  /api/r1/community/{communityName}/userdid/{userdid}/userinfo:
    get:
      tags:
      - User Profile
      summary: Fetch user linking details by personId - Latest record
      operationId: getUserInfo
      parameters:
      - name: devicelist
        in: query
        required: false
        schema:
          type: boolean
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - 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:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
  /api/r1/community/{communityName}/userdid/{did}/roles:
    get:
      tags:
      - User Profile
      summary: Get roles for user
      operationId: userDidRole
      parameters:
      - name: communityName
        in: path
        required: true
        schema:
          type: string
      - name: did
        in: path
        required: true
        schema:
          type: string
      - name: scopes
        in: query
        required: false
        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:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
components:
  schemas:
    LoginOptionsRequest:
      type: object
      properties:
        data:
          type: string
        username:
          type: string
        fetchPasskeyInfo:
          type: boolean
        fetchIal:
          type: boolean
    UserObj:
      type: object
      properties:
        username:
          type: string
        uid:
          type: string
        authModuleId:
          type: string
        source:
          type: string
        valid:
          type: boolean
    GetUserInfoAndFetchUserRequest:
      type: object
      properties:
        devicelist:
          type: boolean
        account:
          $ref: '#/components/schemas/UserObj'
        userslist:
          type: boolean
        otpseed:
          type: boolean
    BIDAccount:
      type: object
      properties:
        username:
          type: string
        uid:
          type: string
        authModuleId:
          type: string
        source:
          type: string
        communityId:
          type: string
        tenantId:
          type: string
        urn:
          type: string
        dguid:
          type: string
        otpSeed:
          type: string
    RequestModel:
      type: object
      properties:
        publicKey:
          type: string
        data:
          type: string
        did:
          type: string
        lon:
          type: string
        lat:
          type: string
        appid:
          type: string
        pushid:
          type: string
        ial:
          type: string
        os:
          type: string
        eventData:
          type: string
        ipfs_hash:
          type: string
        version:
          type: string
        account:
          $ref: '#/components/schemas/BIDAccount'
        userId:
          type: string
        smsTemplateId:
          type: string
        provider:
          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)