Cube Events API

This endpoint can be used to track generic events completed by users.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /user/event Events #

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/cubesoftware:cubesoftware-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cubesoftware-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cube Events API
  version: 1.0.0 (1.0)
  description: '#### General Description

    An API to access underlying Cube functionality.'
  termsOfService: https://www.cubesoftware.com/terms-of-service
servers:
- url: https://api.cubesoftware.com
  description: Production API URL
tags:
- name: Events
  description: This endpoint can be used to track generic events completed by users.
paths:
  /user/event:
    post:
      operationId: user_event_create
      description: This endpoint can be used to track generic events completed by users.
      summary: Events
      parameters:
      - in: header
        name: X-Company-ID
        schema:
          type: string
        description: Associates request with company
        required: true
      tags:
      - Events
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserEventResponseRequest'
            examples:
              TrackWebTemplateViewedEvent:
                value:
                  name: Web Template Viewed
                  model_id: f73b543c-4caa-4437-82e4-5e28d65933cb
                summary: Track Web Template Viewed Event
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UserEventResponseRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UserEventResponseRequest'
        required: true
      security:
      - OAuth2: []
      - {}
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserEventResponse'
          description: ''
components:
  schemas:
    UserEventResponse:
      type: object
      properties:
        name:
          type: string
        model_id:
          type: string
        created_at:
          type: string
          format: date-time
      required:
      - created_at
      - model_id
      - name
    UserEventResponseRequest:
      type: object
      properties:
        name:
          type: string
        model_id:
          type: string
      required:
      - model_id
      - name
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://portal.cubesoftware.com/o/authorize/
          tokenUrl: https://api.cubesoftware.com/o/token/
          scopes: {}
      description: Standard Cube OAuth 2.0 flow
x-provenance:
  method: harvested
  publisher: Cube
  source: https://api.cubesoftware.com/docs/spec
  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)