Orq.ai Users API

Workspace user administration. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.

Operations 5

GET /v3/users List workspace users #
GET /v3/users/{id} Retrieve a workspace user #
DELETE /v3/users/{id} Delete a workspace user #
PATCH /v3/users/{id} Update a workspace user #
POST /v3/users/{id} Create or add workspace users #

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/orq:orq-users-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

orq-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: orq.ai Users API
  version: '2.0'
  description: orq.ai API documentation
servers:
- url: https://my.orq.ai
security:
- ApiKey: []
tags:
- name: Users
  description: Workspace user administration. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
paths:
  /v3/users:
    get:
      tags:
      - Users
      summary: List workspace users
      description: Returns all users in the current workspace, including their team memberships and workspace roles. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
      operationId: UserList
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUsersResponse'
        '401':
          description: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-speakeasy-group: users
      x-speakeasy-name-override: list
      x-code-samples:
      - lang: curl
        label: cURL
        source: "curl --request GET \\\n  --url 'https://my.orq.ai/v3/users' \\\n  --header \"Authorization: Bearer $ORQ_MANAGEMENT_KEY\"\n"
      - lang: typescript
        label: TypeScript (orq SDK)
        source: 'import { Orq } from ''@orq-ai/node'';


          const orq = new Orq({ apiKey: process.env.ORQ_MANAGEMENT_KEY });

          const result = await orq.users.list();

          console.log(result.users);

          '
  /v3/users/{id}:
    get:
      tags:
      - Users
      summary: Retrieve a workspace user
      description: Retrieves one workspace user by workspace-user ID. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
      operationId: UserGet
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        x-speakeasy-name-override: user_id
        description: Workspace-user UUID returned by List workspace users. This is not the account ID.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserResponse'
        '401':
          description: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-speakeasy-group: users
      x-speakeasy-name-override: get
      x-code-samples:
      - lang: curl
        label: cURL
        source: "curl --request GET \\\n  --url 'https://my.orq.ai/v3/users/550e8400-e29b-41d4-a716-446655440000' \\\n  --header \"Authorization: Bearer $ORQ_MANAGEMENT_KEY\"\n"
      - lang: typescript
        label: TypeScript (orq SDK)
        source: 'import { Orq } from ''@orq-ai/node'';


          const orq = new Orq({ apiKey: process.env.ORQ_MANAGEMENT_KEY });

          const result = await orq.users.get({ userId: ''550e8400-e29b-41d4-a716-446655440000'' });

          console.log(result.user);

          '
    delete:
      tags:
      - Users
      summary: Delete a workspace user
      description: Removes a user from the current workspace, refreshes membership state, and revokes API keys owned by that workspace user. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
      operationId: UserDelete
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        x-speakeasy-name-override: user_id
        description: Workspace-user UUID returned by List workspace users. This is not the account ID.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteUserResponse'
        '401':
          description: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-speakeasy-group: users
      x-speakeasy-name-override: delete
      x-code-samples:
      - lang: curl
        label: cURL
        source: "curl --request DELETE \\\n  --url 'https://my.orq.ai/v3/users/550e8400-e29b-41d4-a716-446655440000' \\\n  --header \"Authorization: Bearer $ORQ_MANAGEMENT_KEY\"\n"
      - lang: typescript
        label: TypeScript (orq SDK)
        source: 'import { Orq } from ''@orq-ai/node'';


          const orq = new Orq({ apiKey: process.env.ORQ_MANAGEMENT_KEY });

          await orq.users.delete({ userId: ''550e8400-e29b-41d4-a716-446655440000'' });

          '
    patch:
      tags:
      - Users
      summary: Update a workspace user
      description: Updates a user's last-activity timestamp and/or workspace role. Omitted fields remain unchanged. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
      operationId: UserUpdate
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        x-speakeasy-name-override: user_id
        description: Workspace-user UUID returned by List workspace users. This is not the account ID.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateUserRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateUserResponse'
        '401':
          description: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-speakeasy-group: users
      x-speakeasy-name-override: update
      x-code-samples:
      - lang: curl
        label: cURL
        source: "curl --request PATCH \\\n  --url 'https://my.orq.ai/v3/users/550e8400-e29b-41d4-a716-446655440000' \\\n  --header \"Authorization: Bearer $ORQ_MANAGEMENT_KEY\" \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"role\": \"01J3HZA12M14T6Z82BZ35B170K\"}'\n"
      - lang: typescript
        label: TypeScript (orq SDK)
        source: 'import { Orq } from ''@orq-ai/node'';


          const orq = new Orq({ apiKey: process.env.ORQ_MANAGEMENT_KEY });

          const result = await orq.users.update({ userId: ''550e8400-e29b-41d4-a716-446655440000'', role: ''01J3HZA12M14T6Z82BZ35B170K'' });

          console.log(result.user);

          '
    post:
      tags:
      - Users
      summary: Create or add workspace users
      description: Creates accounts when necessary, adds each user to the current workspace and specified team, assigns the workspace role, and sends the welcome email for newly created accounts. Requires a Management Key with user permissions or an authenticated workspace admin session. Standard API keys are not supported.
      operationId: UserCreate
      parameters:
      - name: id
        in: path
        description: Destination team UUID for every created or added workspace user.
        required: true
        schema:
          type: string
          format: uuid
        x-speakeasy-name-override: team_id
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateUsersRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUsersResponse'
        '401':
          description: Authentication required. See https://docs.orq.ai/reference/errors for the error codes.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-speakeasy-group: users
      x-speakeasy-name-override: create
      x-code-samples:
      - lang: curl
        label: cURL
        source: "curl --request POST \\\n  --url 'https://my.orq.ai/v3/users/550e8400-e29b-41d4-a716-446655440001' \\\n  --header \"Authorization: Bearer $ORQ_MANAGEMENT_KEY\" \\\n  --header 'Content-Type: application/json' \\\n  --data '{\"emails\": [\"member@example.com\"], \"roles\": [\"01J3HZA12M14T6Z82BZ35B170K\"]}'\n"
      - lang: typescript
        label: TypeScript (orq SDK)
        source: 'import { Orq } from ''@orq-ai/node'';


          const orq = new Orq({ apiKey: process.env.ORQ_MANAGEMENT_KEY });

          const result = await orq.users.create({ teamId: ''550e8400-e29b-41d4-a716-446655440001'', emails: [''member@example.com''], roles: [''01J3HZA12M14T6Z82BZ35B170K''] });

          console.log(result.users);

          '
components:
  schemas:
    UpdateUserResponse:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/User'
    CreateUsersResponse:
      type: object
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
    UpdateUserRequest:
      type: object
      properties:
        last_activity:
          type: string
          format: date-time
        role:
          type: string
          description: One effective workspace role. Omit to preserve the existing role.
    ListUsersResponse:
      type: object
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/User'
    UserInvitationData:
      type: object
      properties:
        email:
          type: string
        display_name:
          type: string
    DeleteUserResponse:
      type: object
      properties: {}
    CreateUsersRequest:
      type: object
      properties:
        emails:
          type: array
          items:
            type: string
        roles:
          type: array
          items:
            type: string
          description: "One effective workspace role is required. The first entry is retained for\n wire compatibility with the legacy invitation payload."
    GetUserResponse:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/User'
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.
        code:
          type: integer
          description: gRPC status code, when the service reports one.
        details:
          type: array
          items: {}
          description: Additional error details, when the service reports any.
      required:
      - message
    User:
      type: object
      properties:
        id:
          type: string
          description: Workspace-user identifier.
        account_id:
          type: string
          description: Account identifier.
        email:
          type: string
          description: Account email.
        display_name:
          type: string
          description: Account display name.
        logo_url:
          type: string
          description: Avatar URL.
        team_ids:
          type: array
          items:
            type: string
          description: Team identifiers. The support-only team is excluded.
        roles:
          type: array
          items:
            type: string
          description: Effective workspace roles.
        last_activity:
          type: string
          description: Last activity timestamp. Absent when never active.
          format: date-time
        invitation_data:
          allOf:
          - $ref: '#/components/schemas/UserInvitationData'
          description: Outstanding invitation metadata. Absent for active accounts.
      description: User is the canonical workspace-user record.
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      bearerFormat: JWT
externalDocs:
  url: https://docs.orq.ai
  description: orq.ai Documentation
x-speakeasy-timeout: 600000