v1

latestOpenAPI 3.0.3MIT2026-07-26104113247.1 KB
Group Profiles

Update Property

Updates or adds properties to a group profile. The profile is created if it does not exist.

post/groups#group-set

Query parameters

ipinteger

If present and equal to 0, Mixpanel will not perform geolocation parsing using the IP address of the request. We recommend setting the ip to "0" when making requests from the server-side to prevent the unintentional effect of overwriting your profile's geolocation with your server location. Defaults to 1 which would use the IP address of the request to update profile geolocation.

strictinteger

If present and equal to 1, Mixpanel will validate the provided records and return a JSON object with per-record error messages for records that fail validation.

verboseinteger

If present and equal to 1, Mixpanel will respond with a JSON Object describing the success or failure of the tracking call. The returned object will have two keys: status, with the value 1 on success and 0 on failure, and error, with a string-valued error message if the request wasn't successful. This is useful for debugging during implementation.

Request body

$tokenstring required
$group_keystring required
$group_idstring required
$setobject required

Response

  • 1 - One or more objects provided are valid. This does not signify a valid project token or secret.
  • 0 - No data objects in the body are valid.