cQnce Users API

Tenant user profile and settings (requires tenant JWT)

GitHub OpenAPI

Operations 6

GET /v1/users/me Get current user profile #
PATCH /v1/users/me Update current user profile #
PATCH /v1/users/me/password Change password #
PATCH /v1/users/me/avatar Update avatar #
DELETE /v1/users/me/avatar Delete avatar #
PATCH /v1/users/tenant Update tenant settings #

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/cqnce-app:cqnce-app-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

cqnce-app-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: cQnce Users API
  description: 'Authorization-request routing and agent-management API for the cQnce platform.


    ## Authentication


    | Scheme | Header | Used by |

    |---|---|---|

    | Bearer JWT (tenant) | `Authorization: Bearer ` | Dashboard / admin routes |

    | Bearer JWT (agent) | `Authorization: Bearer ` | Agent mobile app routes |

    | API Key | `x-api-key: ` | Server-to-server request submission |'
  version: 1.0.0
  contact:
    name: cQnce Support
servers:
- url: https://api.cqnce.app
  description: Production
tags:
- name: Users
  description: Tenant user profile and settings (requires tenant JWT)
paths:
  /v1/users/me:
    get:
      tags:
      - Users
      summary: Get current user profile
      description: Returns the authenticated tenant user's profile and tenant information.
      operationId: getUserMe
      security:
      - tenantJWT: []
      responses:
        '200':
          description: User profile
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    patch:
      tags:
      - Users
      summary: Update current user profile
      description: Updates the authenticated tenant user's name and/or email.
      operationId: patchUserMe
      security:
      - tenantJWT: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  example: Alice
                email:
                  type: string
                  format: email
      responses:
        '200':
          description: Profile updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Email already taken
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/users/me/password:
    patch:
      tags:
      - Users
      summary: Change password
      description: Changes the authenticated user's password. The current password must be correct and the new password must meet the complexity policy.
      operationId: patchUserMePassword
      security:
      - tenantJWT: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - currentPassword
              - newPassword
              properties:
                currentPassword:
                  type: string
                newPassword:
                  type: string
                  minLength: 8
      responses:
        '200':
          description: Password changed
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
        '400':
          description: Validation error or weak password
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized or wrong current password
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/users/me/avatar:
    patch:
      tags:
      - Users
      summary: Update avatar
      description: Uploads a base64-encoded image as the user's avatar.
      operationId: patchUserMeAvatar
      security:
      - tenantJWT: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - avatarUrl
              properties:
                avatarUrl:
                  type: string
                  description: Base64 data URL (data:image/...)
      responses:
        '200':
          description: Avatar updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '400':
          description: Validation error or file too large
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
    delete:
      tags:
      - Users
      summary: Delete avatar
      description: Removes the user's avatar.
      operationId: deleteUserMeAvatar
      security:
      - tenantJWT: []
      responses:
        '200':
          description: Avatar removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/users/tenant:
    patch:
      tags:
      - Users
      summary: Update tenant settings
      description: Updates the tenant's display name, default language, or time zone. Requires ADMIN role.
      operationId: patchUserTenant
      security:
      - tenantJWT: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Tenant display name
                language:
                  type: string
                  example: en
                  description: BCP-47 language tag
                timeZone:
                  type: string
                  example: America/New_York
                  description: IANA time zone identifier
      responses:
        '200':
          description: Tenant settings updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  language:
                    type: string
                  timeZone:
                    type: string
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Admin role required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          example: Validation failed
        details:
          type: array
          items:
            type: object
    User:
      type: object
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          format: email
        role:
          type: string
          enum:
          - ADMIN
          - MEMBER
        tenantId:
          type: string
          format: uuid
        tenantLanguage:
          type: string
          example: en
        tenantTimeZone:
          type: string
          example: UTC
  securitySchemes:
    tenantJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on tenant login (`POST /v1/auth/login`)
    agentJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT issued on agent login/register (`POST /v1/auth/agent/login` or `/register`)
    projectApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: Per-project API key used for server-to-server request submission