Macrometa Position API

The Position API from Macrometa — 2 operation(s) for position.

Operations 2

GET /api/vwr/v1/position/{waitingroom_key} Get initial position in the waiting room #
GET /api/vwr/v1/position/{waitingroom_key}/{request_id} Provide current position in the waiting room #

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/macrometa-position-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

macrometa-position-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PhotonIQ Virtual Waiting Rooms Position API
  description: API documentation for the PhotonIQ Virtual Waiting Rooms
  version: 2.0.0
servers:
- url: https://api-demo-vwr.paas.macrometa.io
  description: PhotonIQ Virtual Waiting Rooms API
host: api-play.paas.macrometa.io
tags:
- name: Position
paths:
  /api/vwr/v1/position/{waitingroom_key}:
    get:
      summary: Get initial position in the waiting room
      description: Get initial position in the waiting room.
      tags:
      - Position
      security:
      - APIKeyAuth: []
      parameters:
      - in: path
        name: waitingroom_key
        required: true
        schema:
          type: string
        description: The unique key of a waiting room.
      responses:
        '200':
          description: Successfully retrieved waiting room data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPositionResponse'
        '400':
          description: Bad request.
        '401':
          description: Authorization failure due to invalid authentication credentials.
        '404':
          description: Not found.
        '500':
          description: Internal server error.
      operationId: getApiVwrV1PositionByWaitingroomKey
      x-operation-id-source: derived
  /api/vwr/v1/position/{waitingroom_key}/{request_id}:
    get:
      summary: Provide current position in the waiting room
      description: Provides the user's position in the waiting room.\n\nA position of 0 indicates that the user is no longer in the waiting room and has gained access to the requested resource.
      tags:
      - Position
      security:
      - APIKeyAuth: []
      parameters:
      - in: path
        name: waitingroom_key
        required: true
        schema:
          type: string
      - in: path
        name: request_id
        required: true
        schema:
          type: number
        description: The user's request ID.
      responses:
        '200':
          description: Successfully obtained waiting room data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPositionResponse'
        '400':
          description: Bad request.
        '401':
          description: Authorization failure due to invalid authentication credentials.
        '404':
          description: Not found.
        '500':
          description: Internal server error.
      operationId: getApiVwrV1PositionByWaitingroomKeyByRequestId
      x-operation-id-source: derived
components:
  schemas:
    GetPositionResponse:
      type: object
      required:
      - position
      properties:
        position:
          type: number
          description: The user's current position in the waiting room. 0 means the user doesn't need to wait in the waiting room any longer and can go to the origin.
        waiting_time:
          type: number
          description: Expected time, in seconds, to spend in waiting room.
        queue_depth:
          type: number
          description: Number of users currently in the waiting room.
        request_id:
          type: number
          description: The user's session ID for this access request.
        refresh_interval:
          type: number
          description: Specifies the time interval, in seconds, for subsequent checks of the session status.
  securitySchemes:
    APIKeyAuth:
      type: apiKey
      in: header
      name: Authorization