Highrise World Roles API

The world_roles API from Highrise — 5 operation(s) for world_roles.

Operations 7

GET /api/world/{world_id}/roles Get World Roles #
POST /api/world/{world_id}/roles Create Role #
GET /api/world/{world_id}/roles/{role_id} Get Role Config #
PUT /api/world/{world_id}/roles/{role_id} Update Role #
GET /api/world/{world_id}/roles/{role_id}/members Get Role Members #
POST /api/world/{world_id}/roles/{role_id}/add-user Add Role To User #
DELETE /api/world/{world_id}/roles/{role_id}/remove-user Remove Role From 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/highrise:highrise-world-roles-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

highrise-world-roles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Create World Roles API
  version: '1.0'
tags:
- name: world_roles
paths:
  /api/world/{world_id}/roles:
    get:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table_WorldRoleInfo'
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: integer
      security:
      - cookie/hr_s_production: []
      summary: Get World Roles
      tags:
      - world_roles
      operationId: get_world_roles
      description: Get all roles for a specific world.
    post:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleConfig'
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrUpdateRoleRequest'
        required: true
      security:
      - cookie/hr_s_production: []
      summary: Create Role
      tags:
      - world_roles
      operationId: create_role
      description: Create a new role.
  /api/world/{world_id}/roles/{role_id}:
    get:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleConfig'
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: role_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      security:
      - cookie/hr_s_production: []
      summary: Get Role Config
      tags:
      - world_roles
      operationId: get_role_config
      description: Get configuration and permissions for a specific role.
    put:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoleConfig'
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: role_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateOrUpdateRoleRequest'
        required: true
      security:
      - cookie/hr_s_production: []
      summary: Update Role
      tags:
      - world_roles
      operationId: update_role
      description: Update an existing role.
  /api/world/{world_id}/roles/{role_id}/members:
    get:
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Table_RoleUser'
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: role_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      - name: page
        in: query
        schema:
          type: integer
      security:
      - cookie/hr_s_production: []
      summary: Get Role Members
      tags:
      - world_roles
      operationId: get_role_members
      description: Get all members of a specific role.
  /api/world/{world_id}/roles/{role_id}/add-user:
    post:
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: role_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRemoveRoleRequest'
        required: true
      security:
      - cookie/hr_s_production: []
      summary: Add Role To User
      tags:
      - world_roles
      operationId: add_role_to_user
      description: Add a role to a user.
  /api/world/{world_id}/roles/{role_id}/remove-user:
    delete:
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: string
      parameters:
      - name: world_id
        in: path
        required: true
        schema:
          type: string
      - name: role_id
        in: path
        required: true
        schema:
          type: string
      - name: hr_s_production
        in: cookie
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRemoveRoleRequest'
        required: true
      security:
      - cookie/hr_s_production: []
      summary: Remove Role From User
      tags:
      - world_roles
      operationId: remove_role_from_user
      description: Remove a role from a user.
components:
  schemas:
    Table_RoleUser:
      type: object
      properties:
        elements:
          items:
            $ref: '#/components/schemas/RoleUser'
          type: array
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
      required:
      - elements
      - total
      - limit
      - offset
    AddRemoveRoleRequest:
      type: object
      properties:
        user_id:
          type: string
      required:
      - user_id
    CreateOrUpdateRoleRequest:
      type: object
      properties:
        name:
          oneOf:
          - type: string
          - type: 'null'
        order:
          oneOf:
          - type: integer
          - type: 'null'
        system_permissions:
          oneOf:
          - type: 'null'
    WorldRoleInfo:
      type: object
      properties:
        name:
          type: string
        order:
          type: integer
        type:
          type: integer
        member_count:
          type: integer
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - name
      - order
      - type
      - member_count
      - created_at
      - updated_at
    RoleConfig:
      type: object
      properties:
        name:
          type: string
        order:
          type: integer
        type:
          type: integer
        system_permissions:
          items:
            type: integer
          type: array
        world_permissions:
          items:
            type: integer
          type: array
        created_at:
          type: string
        updated_at:
          type: string
      required:
      - name
      - order
      - type
      - system_permissions
      - world_permissions
      - created_at
      - updated_at
    Table_WorldRoleInfo:
      type: object
      properties:
        elements:
          items:
            $ref: '#/components/schemas/WorldRoleInfo'
          type: array
        total:
          type: integer
        limit:
          type: integer
        offset:
          type: integer
      required:
      - elements
      - total
      - limit
      - offset
    RoleUser:
      type: object
      properties:
        username:
          type: string
        avatar_key:
          oneOf:
          - type: string
          - type: 'null'
        icon_key:
          oneOf:
          - type: string
          - type: 'null'
      required:
      - username
  securitySchemes:
    cookie_hr_s_production:
      name: hr_s_production
      in: cookie
      description: null
      type: apiKey
x-provenance:
  method: harvested
  publisher: Highrise
  source: https://create.highrise.game/api/openapi.json
  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)