Inthegame shop API

The shop API from Inthegame — 7 operation(s) for shop.

Operations 7

POST /adminApi/shop/create Create #
POST /adminApi/shop/delete/{id} Delete #
GET /adminApi/shop/getAll GetAll #
GET /adminApi/shop/getById/{id} GetById #
POST /adminApi/shop/update/{id} Update #
POST /userApi/shop/buyItem BuyItem #
POST /userApi/shop/getProducts GetProducts #

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/inthegame-shop-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

inthegame-shop-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Inthegame admin Shop API
  version: 1.0.0
  description: 'Interactive in-stream overlay and viewer-engagement platform API for OTT/CTV. Two surfaces: adminApi (broadcaster/admin management of streamers, polls, trivia, ratings, wikis, shop, sponsors, prizes, analytics) and userApi (end-viewer play: register/login, answer polls/trivia/ratings, chat, leaderboard, shop). Converted from the provider-published Postman collection "Inthegame API Docs".'
  contact:
    name: Inthegame Support
    email: support@inthegame.io
    url: https://www.inthegame.io/
servers:
- url: https://api-dev.inthegame.io
  description: Published API host (from Postman collection)
tags:
- name: shop
paths:
  /adminApi/shop/create:
    post:
      operationId: adminapiShopCreate
      summary: Create
      tags:
      - shop
      description: Send new shop object to save and return it as db object
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                pointsXP:
                  type: string
                image:
                  type: string
            example:
              name: New Item
              description: test
              pointsXP: '100'
              image: '{binary}'
      responses:
        '200':
          description: API Test
          content:
            application/json:
              schema:
                type: object
              example:
                shop:
                  name: New Item
                  description: test
                  pointsXP: '100'
                  user_id: 5fbce6c58703d05e5a73b6f4
                  image: ''
                  _id:
                    $id: 5fbf8ba778c77731880d90c8
        '404':
          description: Not found
        '500':
          description: Server error
      security:
      - AdminToken: []
  /adminApi/shop/delete/{id}:
    post:
      operationId: adminapiShopDelete
      summary: Delete
      tags:
      - shop
      description: Send shop id to delete it from db
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Default
        '404':
          description: Not found
        '500':
          description: Server error
      security:
      - AdminToken: []
  /adminApi/shop/getAll:
    get:
      operationId: adminapiShopGetall
      summary: GetAll
      tags:
      - shop
      description: Send request to get shop items list
      responses:
        '200':
          description: API Test
          content:
            application/json:
              schema:
                type: object
              example:
                shop:
                - name: test item
                  description: test
                  pointsXP: '100'
                  user_id: 5fbce6c58703d05e5a73b6f4
                  image: /uploads/shop/4c043d20a7673bcc1189956cef8edc63.ba46792ede92a2eec53f35d8fd4c49e7.png
                  _id:
                    $id: 5fbcee8ae6cc2a181c6d5422
        '404':
          description: Not found
        '500':
          description: Server error
      security:
      - AdminToken: []
  /adminApi/shop/getById/{id}:
    get:
      operationId: adminapiShopGetbyid
      summary: GetById
      tags:
      - shop
      description: Return shop object selected by given id
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Default
          content:
            application/json:
              schema:
                type: object
              example:
                shop:
                  name: '***'
                  description: '***'
                  pointsXP: '***'
                  user_id: '***'
                  image: '***'
                  _id:
                    $id: '***'
        '404':
          description: Not found
        '500':
          description: Server error
      security:
      - AdminToken: []
  /adminApi/shop/update/{id}:
    post:
      operationId: adminapiShopUpdate
      summary: Update
      tags:
      - shop
      description: Send shop object to update in db with given id and return updated shop item
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                pointsXP:
                  type: string
                user_id:
                  type: string
                image:
                  type: string
                _id:
                  type: string
            example:
              name: New Item
              description: test
              pointsXP: '100'
              user_id: 5fbce6c58703d05e5a73b6f4
              image: ''
              _id: '[object Object]'
      responses:
        '200':
          description: API Test
          content:
            application/json:
              schema:
                type: object
              example:
                shop:
                  name: New Item
                  description: test
                  pointsXP: '100'
                  user_id: 5fbce6c58703d05e5a73b6f4
                  image: ''
        '404':
          description: Not found
        '500':
          description: Server error
      security:
      - AdminToken: []
  /userApi/shop/buyItem:
    post:
      operationId: userapiShopBuyitem
      summary: BuyItem
      tags:
      - shop
      description: Send item data paid by user
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                request:
                  type: string
            example:
              request: data
      responses:
        '200':
          description: APITest
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
        '404':
          description: Not found
        '500':
          description: Server error
  /userApi/shop/getProducts:
    post:
      operationId: userapiShopGetproducts
      summary: GetProducts
      tags:
      - shop
      description: Return list of users purchases for broadcaster
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                request:
                  type: string
            example:
              request: data
      responses:
        '200':
          description: APITest
          content:
            application/json:
              schema:
                type: object
              example:
              - name: test item
                description: test
                pointsXP: '100'
                user_id: 5fbce6c58703d05e5a73b6f4
                image: /uploads/shop/4c043d20a7673bcc1189956cef8edc63.ba46792ede92a2eec53f35d8fd4c49e7.png
                _id:
                  $id: 5fbcee8ae6cc2a181c6d5422
        '404':
          description: Not found
        '500':
          description: Server error
components:
  securitySchemes:
    AdminToken:
      type: apiKey
      in: header
      name: Authorization
      description: Admin API token issued after login to the admin panel (https://admintest.inthegame.io/); sent in the Authorization header.