Heroic Labs Rpc API

The Rpc API from Heroic Labs — 131 operation(s) for rpc.

Operations 131

POST /rpc/RPC_ID_INVENTORY_LIST?unwrap INVENTORY_LIST #
POST /rpc/RPC_ID_INVENTORY_LIST_INVENTORY?unwrap INVENTORY_LIST_INVENTORY #
POST /rpc/RPC_ID_INVENTORY_CONSUME?unwrap INVENTORY_CONSUME #
POST /rpc/RPC_ID_INVENTORY_GRANT?unwrap INVENTORY_GRANT #
POST /rpc/RPC_ID_INVENTORY_UPDATE?unwrap INVENTORY_UPDATE #
POST /rpc/RPC_ID_INVENTORY_DELETE?unwrap INVENTORY_DELETE #
POST /rpc/RPC_ID_ECONOMY_DONATION_CLAIM?unwrap ECONOMY_DONATION_CLAIM #
POST /rpc/RPC_ID_ECONOMY_DONATION_GIVE?unwrap ECONOMY_DONATION_GIVE #
POST /rpc/RPC_ID_ECONOMY_DONATION_GET?unwrap ECONOMY_DONATION_GET #
POST /rpc/RPC_ID_ECONOMY_DONATION_REQUEST?unwrap ECONOMY_DONATION_REQUEST #
POST /rpc/RPC_ID_ECONOMY_STORE_GET?unwrap ECONOMY_STORE_GET #
POST /rpc/RPC_ID_ECONOMY_GRANT?unwrap ECONOMY_GRANT #
POST /rpc/RPC_ID_ECONOMY_PURCHASE_INTENT?unwrap ECONOMY_PURCHASE_INTENT #
POST /rpc/RPC_ID_ECONOMY_PURCHASE_ITEM?unwrap ECONOMY_PURCHASE_ITEM #
POST /rpc/RPC_ID_ECONOMY_PURCHASE_RESTORE?unwrap ECONOMY_PURCHASE_RESTORE #
POST /rpc/RPC_ID_ECONOMY_PLACEMENT_STATUS?unwrap ECONOMY_PLACEMENT_STATUS #
POST /rpc/RPC_ID_ECONOMY_PLACEMENT_START?unwrap ECONOMY_PLACEMENT_START #
POST /rpc/RPC_ID_ACHIEVEMENTS_CLAIM?unwrap ACHIEVEMENTS_CLAIM #
POST /rpc/RPC_ID_ACHIEVEMENTS_GET?unwrap ACHIEVEMENTS_GET #
POST /rpc/RPC_ID_ACHIEVEMENTS_UPDATE?unwrap ACHIEVEMENTS_UPDATE #
POST /rpc/RPC_ID_ENERGY_GET?unwrap ENERGY_GET #
POST /rpc/RPC_ID_ENERGY_SPEND?unwrap ENERGY_SPEND #
POST /rpc/RPC_ID_ENERGY_GRANT?unwrap ENERGY_GRANT #
POST /rpc/RPC_ID_ENERGY_SPEND_WITH_REFILL_START_TIME?unwrap ENERGY_SPEND_WITH_REFILL_START_TIME #
POST /rpc/RPC_ID_TUTORIALS_GET?unwrap TUTORIALS_GET #
POST /rpc/RPC_ID_TUTORIALS_ACCEPT?unwrap TUTORIALS_ACCEPT #
POST /rpc/RPC_ID_TUTORIALS_DECLINE?unwrap TUTORIALS_DECLINE #
POST /rpc/RPC_ID_TUTORIALS_ABANDON?unwrap TUTORIALS_ABANDON #
POST /rpc/RPC_ID_TUTORIALS_UPDATE?unwrap TUTORIALS_UPDATE #
POST /rpc/RPC_ID_TUTORIALS_RESET?unwrap TUTORIALS_RESET #
POST /rpc/RPC_ID_TEAMS_CREATE?unwrap TEAMS_CREATE #
POST /rpc/RPC_ID_TEAMS_UPDATE?unwrap TEAMS_UPDATE #
POST /rpc/RPC_ID_TEAMS_LIST?unwrap TEAMS_LIST #
POST /rpc/RPC_ID_TEAMS_GET?unwrap TEAMS_GET #
POST /rpc/RPC_ID_TEAMS_USER_TEAMS_LIST?unwrap TEAMS_USER_TEAMS_LIST #
POST /rpc/RPC_ID_TEAMS_WRITE_CHAT_MESSAGE?unwrap TEAMS_WRITE_CHAT_MESSAGE #
POST /rpc/RPC_ID_TEAMS_STORE_GET?unwrap TEAMS_STORE_GET #
POST /rpc/RPC_ID_TEAMS_STORE_PURCHASE?unwrap TEAMS_STORE_PURCHASE #
POST /rpc/RPC_ID_TEAMS_WALLET_GET?unwrap TEAMS_WALLET_GET #
POST /rpc/RPC_ID_TEAMS_WALLET_GRANT?unwrap TEAMS_WALLET_GRANT #
POST /rpc/RPC_ID_TEAMS_STATS_GET?unwrap TEAMS_STATS_GET #
POST /rpc/RPC_ID_TEAMS_STATS_UPDATE?unwrap TEAMS_STATS_UPDATE #
POST /rpc/RPC_ID_TEAMS_INVENTORY_LIST?unwrap TEAMS_INVENTORY_LIST #
POST /rpc/RPC_ID_TEAMS_INVENTORY_LIST_INVENTORY?unwrap TEAMS_INVENTORY_LIST_INVENTORY #
POST /rpc/RPC_ID_TEAMS_INVENTORY_CONSUME?unwrap TEAMS_INVENTORY_CONSUME #
POST /rpc/RPC_ID_TEAMS_INVENTORY_GRANT?unwrap TEAMS_INVENTORY_GRANT #
POST /rpc/RPC_ID_TEAMS_INVENTORY_UPDATE?unwrap TEAMS_INVENTORY_UPDATE #
POST /rpc/RPC_ID_TEAMS_ACHIEVEMENTS_CLAIM?unwrap TEAMS_ACHIEVEMENTS_CLAIM #
POST /rpc/RPC_ID_TEAMS_ACHIEVEMENTS_GET?unwrap TEAMS_ACHIEVEMENTS_GET #
POST /rpc/RPC_ID_TEAMS_ACHIEVEMENTS_UPDATE?unwrap TEAMS_ACHIEVEMENTS_UPDATE #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_LIST?unwrap TEAMS_EVENT_LEADERBOARD_LIST #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_GET?unwrap TEAMS_EVENT_LEADERBOARD_GET #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_UPDATE?unwrap TEAMS_EVENT_LEADERBOARD_UPDATE #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_CLAIM?unwrap TEAMS_EVENT_LEADERBOARD_CLAIM #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_ROLL?unwrap TEAMS_EVENT_LEADERBOARD_ROLL #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_DEBUG_FILL?unwrap TEAMS_EVENT_LEADERBOARD_DEBUG_FILL #
POST /rpc/RPC_ID_TEAMS_EVENT_LEADERBOARD_DEBUG_RANDOM_SCORES?unwrap TEAMS_EVENT_LEADERBOARD_DEBUG_RANDOM_SCORES #
POST /rpc/RPC_ID_TEAMS_REWARD_MAILBOX_LIST?unwrap TEAMS_REWARD_MAILBOX_LIST #
POST /rpc/RPC_ID_TEAMS_REWARD_MAILBOX_CLAIM?unwrap TEAMS_REWARD_MAILBOX_CLAIM #
POST /rpc/RPC_ID_TEAMS_REWARD_MAILBOX_DELETE?unwrap TEAMS_REWARD_MAILBOX_DELETE #
POST /rpc/RPC_ID_TEAMS_GIFT_LIST?unwrap TEAMS_GIFT_LIST #
POST /rpc/RPC_ID_TEAMS_GIFT_CONTRIBUTE?unwrap TEAMS_GIFT_CONTRIBUTE #
POST /rpc/RPC_ID_TEAMS_GIFT_CLAIM?unwrap TEAMS_GIFT_CLAIM #
POST /rpc/RPC_ID_UNLOCKABLES_CREATE?unwrap UNLOCKABLES_CREATE #
POST /rpc/RPC_ID_UNLOCKABLES_GET?unwrap UNLOCKABLES_GET #
POST /rpc/RPC_ID_UNLOCKABLES_UNLOCK_START?unwrap UNLOCKABLES_UNLOCK_START #
POST /rpc/RPC_ID_UNLOCKABLES_PURCHASE_UNLOCK?unwrap UNLOCKABLES_PURCHASE_UNLOCK #
POST /rpc/RPC_ID_UNLOCKABLES_PURCHASE_SLOT?unwrap UNLOCKABLES_PURCHASE_SLOT #
POST /rpc/RPC_ID_UNLOCKABLES_CLAIM?unwrap UNLOCKABLES_CLAIM #
POST /rpc/RPC_ID_UNLOCKABLES_QUEUE_ADD?unwrap UNLOCKABLES_QUEUE_ADD #
POST /rpc/RPC_ID_UNLOCKABLES_QUEUE_REMOVE?unwrap UNLOCKABLES_QUEUE_REMOVE #
POST /rpc/RPC_ID_UNLOCKABLES_QUEUE_SET?unwrap UNLOCKABLES_QUEUE_SET #
POST /rpc/RPC_ID_BASE_RATE_APP?unwrap BASE_RATE_APP #
POST /rpc/RPC_ID_BASE_SET_DEVICE_PREFS?unwrap BASE_SET_DEVICE_PREFS #
POST /rpc/RPC_ID_BASE_SYNC?unwrap BASE_SYNC #
POST /rpc/RPC_ID_LEADERBOARDS_CONFIG_GET?unwrap LEADERBOARDS_CONFIG_GET #
POST /rpc/RPC_ID_LEADERBOARD_LIST?unwrap LEADERBOARD_LIST #
POST /rpc/RPC_ID_LEADERBOARD_GET?unwrap LEADERBOARD_GET #
POST /rpc/RPC_ID_LEADERBOARD_UPDATE?unwrap LEADERBOARD_UPDATE #
POST /rpc/RPC_ID_LEADERBOARD_SCORES_LIST?unwrap LEADERBOARD_SCORES_LIST #
POST /rpc/RPC_ID_LEADERBOARD_SCORES_LIST_AROUND_OWNER?unwrap LEADERBOARD_SCORES_LIST_AROUND_OWNER #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_LIST?unwrap EVENT_LEADERBOARD_LIST #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_GET?unwrap EVENT_LEADERBOARD_GET #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_UPDATE?unwrap EVENT_LEADERBOARD_UPDATE #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_CLAIM?unwrap EVENT_LEADERBOARD_CLAIM #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_ROLL?unwrap EVENT_LEADERBOARD_ROLL #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_DEBUG_FILL?unwrap EVENT_LEADERBOARD_DEBUG_FILL #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_DEBUG_RANDOM_SCORES?unwrap EVENT_LEADERBOARD_DEBUG_RANDOM_SCORES #
POST /rpc/RPC_ID_EVENT_LEADERBOARD_DEBUG_UNENROLL?unwrap EVENT_LEADERBOARD_DEBUG_UNENROLL #
POST /rpc/RPC_ID_STATS_GET?unwrap STATS_GET #
POST /rpc/RPC_ID_STATS_UPDATE?unwrap STATS_UPDATE #
POST /rpc/RPC_ID_PROGRESSIONS_GET?unwrap PROGRESSIONS_GET #
POST /rpc/RPC_ID_PROGRESSIONS_PURCHASE?unwrap PROGRESSIONS_PURCHASE #
POST /rpc/RPC_ID_PROGRESSIONS_UPDATE?unwrap PROGRESSIONS_UPDATE #
POST /rpc/RPC_ID_INCENTIVES_SENDER_LIST?unwrap INCENTIVES_SENDER_LIST #
POST /rpc/RPC_ID_INCENTIVES_SENDER_CREATE?unwrap INCENTIVES_SENDER_CREATE #
POST /rpc/RPC_ID_INCENTIVES_SENDER_DELETE?unwrap INCENTIVES_SENDER_DELETE #
POST /rpc/RPC_ID_INCENTIVES_SENDER_CLAIM?unwrap INCENTIVES_SENDER_CLAIM #
POST /rpc/RPC_ID_INCENTIVES_RECIPIENT_GET?unwrap INCENTIVES_RECIPIENT_GET #
POST /rpc/RPC_ID_INCENTIVES_RECIPIENT_CLAIM?unwrap INCENTIVES_RECIPIENT_CLAIM #
POST /rpc/RPC_ID_PROGRESSIONS_RESET?unwrap PROGRESSIONS_RESET #
POST /rpc/RPC_ID_AUCTIONS_GET_TEMPLATES?unwrap AUCTIONS_GET_TEMPLATES #
POST /rpc/RPC_ID_AUCTIONS_LIST?unwrap AUCTIONS_LIST #
POST /rpc/RPC_ID_AUCTIONS_BID?unwrap AUCTIONS_BID #
POST /rpc/RPC_ID_AUCTIONS_CLAIM_BID?unwrap AUCTIONS_CLAIM_BID #
POST /rpc/RPC_ID_AUCTIONS_CLAIM_CREATED?unwrap AUCTIONS_CLAIM_CREATED #
POST /rpc/RPC_ID_AUCTIONS_CANCEL?unwrap AUCTIONS_CANCEL #
POST /rpc/RPC_ID_AUCTIONS_CREATE?unwrap AUCTIONS_CREATE #
POST /rpc/RPC_ID_AUCTIONS_LIST_BIDS?unwrap AUCTIONS_LIST_BIDS #
POST /rpc/RPC_ID_AUCTIONS_LIST_CREATED?unwrap AUCTIONS_LIST_CREATED #
POST /rpc/RPC_ID_STREAKS_LIST?unwrap STREAKS_LIST #
POST /rpc/RPC_ID_STREAKS_UPDATE?unwrap STREAKS_UPDATE #
POST /rpc/RPC_ID_STREAKS_CLAIM?unwrap STREAKS_CLAIM #
POST /rpc/RPC_ID_STREAKS_RESET?unwrap STREAKS_RESET #
POST /rpc/RPC_ID_CHALLENGES_GET_TEMPLATES?unwrap CHALLENGES_GET_TEMPLATES #
POST /rpc/RPC_ID_CHALLENGE_GET?unwrap CHALLENGE_GET #
POST /rpc/RPC_ID_CHALLENGE_LIST?unwrap CHALLENGE_LIST #
POST /rpc/RPC_ID_CHALLENGE_CREATE?unwrap CHALLENGE_CREATE #
POST /rpc/RPC_ID_CHALLENGE_JOIN?unwrap CHALLENGE_JOIN #
POST /rpc/RPC_ID_CHALLENGE_LEAVE?unwrap CHALLENGE_LEAVE #
POST /rpc/RPC_ID_CHALLENGE_SUBMIT_SCORE?unwrap CHALLENGE_SUBMIT_SCORE #
POST /rpc/RPC_ID_CHALLENGE_CLAIM?unwrap CHALLENGE_CLAIM #
POST /rpc/RPC_ID_CHALLENGE_INVITE?unwrap CHALLENGE_INVITE #
POST /rpc/RPC_ID_REWARD_MAILBOX_LIST?unwrap REWARD_MAILBOX_LIST #
POST /rpc/RPC_ID_REWARD_MAILBOX_CLAIM?unwrap REWARD_MAILBOX_CLAIM #
POST /rpc/RPC_ID_REWARD_MAILBOX_DELETE?unwrap REWARD_MAILBOX_DELETE #
POST /rpc/RPC_ID_ECONOMY_PLACEMENT_SUCCESS?unwrap ECONOMY_PLACEMENT_SUCCESS #
POST /rpc/RPC_ID_ECONOMY_PLACEMENT_FAIL?unwrap ECONOMY_PLACEMENT_FAIL #
POST /rpc/RPC_ID_STORAGE_PERSONALIZER_UPLOAD?unwrap STORAGE_PERSONALIZER_UPLOAD #

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/heroiclabs-rpc-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

heroiclabs-rpc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hiro Rpc API
  description: An OpenAPI collection for the Hiro RPC API
  version: 1.0.0
servers:
- url: http://{hostAddr}:{port}/v2
  description: Local development with Nakama server.
  variables:
    scheme:
      enum:
      - https
      - http
      default: http
    hostAddr:
      default: 127.0.0.1
    port:
      enum:
      - '443'
      - '7350'
      default: '7350'
security:
- bearerAuthNakama: []
tags:
- name: Rpc
paths:
  /rpc/RPC_ID_INVENTORY_LIST?unwrap:
    post:
      summary: INVENTORY_LIST
      description: List all inventory items defined in the codex.
      operationId: INVENTORY_LIST
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_INVENTORY_LIST_INVENTORY?unwrap:
    post:
      summary: INVENTORY_LIST_INVENTORY
      description: List all inventory items owned by the player.
      operationId: INVENTORY_LIST_INVENTORY
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_INVENTORY_CONSUME?unwrap:
    post:
      summary: INVENTORY_CONSUME
      description: Consume one or more inventory items owned by the player.
      operationId: INVENTORY_CONSUME
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryConsumeRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryConsumeRewards'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_INVENTORY_GRANT?unwrap:
    post:
      summary: INVENTORY_GRANT
      description: Grant one or more inventory items to the player.
      operationId: INVENTORY_GRANT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryGrantRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_INVENTORY_UPDATE?unwrap:
    post:
      summary: INVENTORY_UPDATE
      description: Update the properties on one or more inventory items owned by the player.
      operationId: INVENTORY_UPDATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryUpdateItemsRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_INVENTORY_DELETE?unwrap:
    post:
      summary: INVENTORY_DELETE
      description: Delete Items by instance id.
      operationId: INVENTORY_DELETE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryDeleteItemsRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_DONATION_CLAIM?unwrap:
    post:
      summary: ECONOMY_DONATION_CLAIM
      description: Claim one or more rewards which are partially or full donated by other players.
      operationId: ECONOMY_DONATION_CLAIM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyDonationClaimRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyDonationClaimRewards'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_DONATION_GIVE?unwrap:
    post:
      summary: ECONOMY_DONATION_GIVE
      description: Donate some resource (currencies, items, etc.) to a user by donation ID.
      operationId: ECONOMY_DONATION_GIVE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyDonationGiveRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_DONATION_GET?unwrap:
    post:
      summary: ECONOMY_DONATION_GET
      description: Get progress on one or more donations for a set of players by their IDs.
      operationId: ECONOMY_DONATION_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyDonationGetRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyDonationsByUserList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_DONATION_REQUEST?unwrap:
    post:
      summary: ECONOMY_DONATION_REQUEST
      description: Request a donation which other players can contribute into.
      operationId: ECONOMY_DONATION_REQUEST
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyDonationRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyDonationAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_STORE_GET?unwrap:
    post:
      summary: ECONOMY_STORE_GET
      description: Get all store items defined in the Virtual Store.
      operationId: ECONOMY_STORE_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_GRANT?unwrap:
    post:
      summary: ECONOMY_GRANT
      description: Grant one or more currencies or reward modifiers to te player.
      operationId: ECONOMY_GRANT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyGrantRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_PURCHASE_INTENT?unwrap:
    post:
      summary: ECONOMY_PURCHASE_INTENT
      description: Send a marker of intent to purchase by the player.
      operationId: ECONOMY_PURCHASE_INTENT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyPurchaseIntentRequest'
      responses:
        '200':
          description: A successful response
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_PURCHASE_ITEM?unwrap:
    post:
      summary: ECONOMY_PURCHASE_ITEM
      description: Purchase a store item by the player.
      operationId: ECONOMY_PURCHASE_ITEM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyPurchaseRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyPurchaseAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_PURCHASE_RESTORE?unwrap:
    post:
      summary: ECONOMY_PURCHASE_RESTORE
      description: Restore a set of purchases.
      operationId: ECONOMY_PURCHASE_RESTORE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyPurchaseRestoreRequest'
      responses:
        '200':
          description: A successful response
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_PLACEMENT_STATUS?unwrap:
    post:
      summary: ECONOMY_PLACEMENT_STATUS
      description: Get the current status on an Ad placement which may have been rewarded.
      operationId: ECONOMY_PLACEMENT_STATUS
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyPlacementStatusRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyPlacementStatus'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ECONOMY_PLACEMENT_START?unwrap:
    post:
      summary: ECONOMY_PLACEMENT_START
      description: Start a new Ad placement by placement ID.
      operationId: ECONOMY_PLACEMENT_START
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EconomyPlacementStartRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EconomyPlacementStatus'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ACHIEVEMENTS_CLAIM?unwrap:
    post:
      summary: ACHIEVEMENTS_CLAIM
      description: Claim one or more achievements which have completed their progress.
      operationId: ACHIEVEMENTS_CLAIM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AchievementsClaimRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementsUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ACHIEVEMENTS_GET?unwrap:
    post:
      summary: ACHIEVEMENTS_GET
      description: Get all achievements with progress accumulated by the player.
      operationId: ACHIEVEMENTS_GET
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ACHIEVEMENTS_UPDATE?unwrap:
    post:
      summary: ACHIEVEMENTS_UPDATE
      description: Update one or more achievements with the same progress amount.
      operationId: ACHIEVEMENTS_UPDATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AchievementsUpdateRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AchievementsUpdateAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ENERGY_GET?unwrap:
    post:
      summary: ENERGY_GET
      description: Get the energies and their current timers for the player.
      operationId: ENERGY_GET
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnergyList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ENERGY_SPEND?unwrap:
    post:
      summary: ENERGY_SPEND
      description: Spend one or more energies for the player.
      operationId: ENERGY_SPEND
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnergySpendRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnergySpendReward'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ENERGY_GRANT?unwrap:
    post:
      summary: ENERGY_GRANT
      description: Grant one or more energies to the player.
      operationId: ENERGY_GRANT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnergyGrantRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnergyList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_ENERGY_SPEND_WITH_REFILL_START_TIME?unwrap:
    post:
      summary: ENERGY_SPEND_WITH_REFILL_START_TIME
      description: Spend one or more energies with custom refill start times for the player.
      operationId: ENERGY_SPEND_WITH_REFILL_START_TIME
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnergySpendWithRefillStartTimeRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnergySpendReward'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_GET?unwrap:
    post:
      summary: TUTORIALS_GET
      description: Get the tutorials and current progress step for the player.
      operationId: TUTORIALS_GET
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TutorialList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_ACCEPT?unwrap:
    post:
      summary: TUTORIALS_ACCEPT
      description: Accept an offer to step through a tutorial.
      operationId: TUTORIALS_ACCEPT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TutorialAcceptRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tutorial'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_DECLINE?unwrap:
    post:
      summary: TUTORIALS_DECLINE
      description: Decline an offer to start a tutorial.
      operationId: TUTORIALS_DECLINE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TutorialDeclineRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tutorial'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_ABANDON?unwrap:
    post:
      summary: TUTORIALS_ABANDON
      description: Abandon progress on a tutorial.
      operationId: TUTORIALS_ABANDON
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TutorialAbandonRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tutorial'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_UPDATE?unwrap:
    post:
      summary: TUTORIALS_UPDATE
      description: Update the current progress step in the tutorial by ID.
      operationId: TUTORIALS_UPDATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TutorialUpdateRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TutorialList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TUTORIALS_RESET?unwrap:
    post:
      summary: TUTORIALS_RESET
      description: Reset the state of all given tutorial IDs.
      operationId: TUTORIALS_RESET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TutorialResetRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TutorialList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_CREATE?unwrap:
    post:
      summary: TEAMS_CREATE
      description: Create a team which other players can join.
      operationId: TEAMS_CREATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamCreateRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Team'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_UPDATE?unwrap:
    post:
      summary: TEAMS_UPDATE
      description: Update a team's properties.
      operationId: TEAMS_UPDATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamUpdateRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Team'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_LIST?unwrap:
    post:
      summary: TEAMS_LIST
      description: List one or more teams which the player can join.
      operationId: TEAMS_LIST
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_SEARCH?unwrap:
    post:
      summary: TEAMS_SEARCH
      description: Search for teams by name or an optional short code.
      operationId: TEAMS_SEARCH
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamSearchRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_GET?unwrap:
    post:
      summary: TEAMS_GET
      description: Retrieves a team by its TeamID.
      operationId: TEAMS_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamGetRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Team'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_USER_TEAMS_LIST?unwrap:
    post:
      summary: TEAMS_USER_TEAMS_LIST
      description: Retrieve a list of teams associated with a given set of users.
      operationId: TEAMS_USER_TEAMS_LIST
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserTeamsListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserTeamsList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_WRITE_CHAT_MESSAGE?unwrap:
    post:
      summary: TEAMS_WRITE_CHAT_MESSAGE
      description: Write a chat message to the Team's chat channel.
      operationId: TEAMS_WRITE_CHAT_MESSAGE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamWriteChatMessageRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelMessageAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_STORE_GET?unwrap:
    post:
      summary: TEAMS_STORE_GET
      description: Get all store items defined in the team Virtual Store.
      operationId: TEAMS_STORE_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamStoreListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamStore'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_STORE_PURCHASE?unwrap:
    post:
      summary: TEAMS_STORE_PURCHASE
      description: Purchase a team store item.
      operationId: TEAMS_STORE_PURCHASE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamStorePurchaseRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamStorePurchaseAck'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_WALLET_GET?unwrap:
    post:
      summary: TEAMS_WALLET_GET
      description: Get a team's wallet.
      operationId: TEAMS_WALLET_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamWalletGetRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamWallet'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_WALLET_GRANT?unwrap:
    post:
      summary: TEAMS_WALLET_GRANT
      description: Grant currencies to a team's wallet.
      operationId: TEAMS_WALLET_GRANT
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamWalletGrantRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamWallet'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_STATS_GET?unwrap:
    post:
      summary: TEAMS_STATS_GET
      description: Get a team's stats.
      operationId: TEAMS_STATS_GET
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamStatListRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatList'
        default:
          description: An error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Rpc
  /rpc/RPC_ID_TEAMS_STATS_UPDATE?unwrap:
    post:
      summary: TEAMS_STATS_UPDATE
      description: Update a team's stats.
      operationId: TEAMS_STATS_UPDATE
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TeamStatUpdateRequest'
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                

# --- truncated at 32 KB (166 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/heroiclabs/refs/heads/main/openapi/heroiclabs-rpc-api-openapi.yml