Mixpanel Group Profiles API

Manage group analytics profiles

Operations 1

POST /groups Mixpanel Update group profile #

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/mixpanel-group-profiles-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

mixpanel-group-profiles-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mixpanel Ingestion Group Profiles API
  description: API for sending event data to Mixpanel for tracking and analysis, including importing events, tracking events, managing user profiles, group profiles, and lookup tables.
  version: '2.0'
  contact:
    name: Mixpanel Support
    email: support@mixpanel.com
    url: https://mixpanel.com/get-support
  termsOfService: https://mixpanel.com/legal/terms-of-use
servers:
- url: https://api.mixpanel.com
  description: Mixpanel US Data Residency
- url: https://api-eu.mixpanel.com
  description: Mixpanel EU Data Residency
security:
- basicAuth: []
tags:
- name: Group Profiles
  description: Manage group analytics profiles
paths:
  /groups:
    post:
      operationId: updateGroupProfile
      summary: Mixpanel Update group profile
      description: Create or update group profile properties. Groups allow you to associate events with entities like companies, accounts, or any custom group type.
      tags:
      - Group Profiles
      parameters:
      - $ref: '#/components/parameters/verbose'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/GroupUpdate'
              - type: array
                items:
                  $ref: '#/components/schemas/GroupUpdate'
                maxItems: 2000
      responses:
        '200':
          description: Group profile updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrackResponse'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '429':
          description: Rate limit exceeded
      security:
      - projectToken: []
components:
  schemas:
    GroupUpdate:
      type: object
      required:
      - $token
      - $group_key
      - $group_id
      properties:
        $token:
          type: string
          description: Mixpanel project token
        $group_key:
          type: string
          description: The group key (e.g., company)
        $group_id:
          type: string
          description: The group identifier value
        $set:
          type: object
          additionalProperties: true
          description: Properties to set on the group profile
        $set_once:
          type: object
          additionalProperties: true
          description: Properties to set only if not already set
        $unset:
          type: array
          items:
            type: string
          description: Property names to remove from the group profile
        $delete:
          type: string
          description: Set to empty string to delete the group profile
    TrackResponse:
      type: object
      properties:
        status:
          type: integer
          enum:
          - 0
          - 1
          description: 1 for success, 0 for failure
        error:
          type: string
          description: Error message if status is 0
  parameters:
    verbose:
      name: verbose
      in: query
      schema:
        type: integer
        enum:
        - 0
        - 1
      description: When set to 1, returns a JSON response with status and error details
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Service account credentials. Use the service account username as the username and the service account secret as the password.
    projectToken:
      type: apiKey
      in: query
      name: token
      description: Mixpanel project token for client-side tracking
externalDocs:
  description: Mixpanel Ingestion API Documentation
  url: https://developer.mixpanel.com/reference/ingestion-api