v1

latestOpenAPI 3.0.3MIT2026-07-26104113247.1 KB
Warehouse Imports

Create a groups import

Create a new warehouse import for group profile data. Groups imports sync group properties from your warehouse to Mixpanel group profiles.

post/projects/{projectId}/warehouse-sources/imports/groups

Path parameters

projectIdinteger required

Your project id (eg: 12345)

Request body

import_type'groups' required
warehouse_source_idinteger required
table_paramsTableParams required

Table location parameters (structure depends on warehouse type)

group_keystring required
group_id_columnstring required
sync_mode'time_based' | 'mirror_mode' | 'full_sync' | 'one_time' required
run_every0 | 3600000000000 | 86400000000000 | 604800000000000

Sync frequency in nanoseconds. Only these values are accepted:

  • 0 - API-triggered only (use the manual-sync endpoint to trigger)
  • 3600000000000 - Hourly
  • 86400000000000 - Daily
  • 604800000000000 - Weekly
insert_time_column_namestring nullable
json_properties_column_namestring nullable
property_mappingsPropertyMappings nullable

Response

Success

status'ok'

"ok" if the request succeeded, "error" otherwise.

Example response

{
  "status": "ok"
}