On this page

Group Identify API

Regions

The base URL depends on your project's data residency. In all examples on this page, use the default base URL unless your project uses Amplitude's EU data center—in that case use the EU base URL in this table.

This API uses the event ingestion host api2.amplitude.com (default) or api.eu.amplitude.com (EU). Other Amplitude APIs use different hostnames (for example api.amplitude.com, core.amplitude.com, data-api.amplitude.com, or experiment.amplitude.com). The https://analytics.amplitude.com hostname is the Analytics web app (browser UI), not an ingestion endpoint.

Considerations

  • Updates affect only future events, and don't update historical events.
  • You can track up to 5 unique group types and 10 total groups per event.
  • The maximum number of group identifies per request is 1024.
  • The maximum number of group properties per request is 1024.
  • The maximum byte size/per request is 1 mb.

Request

Set or update group properties.

POST https://api2.amplitude.com/groupidentify

curl
curl --location --request POST '<https://api2.amplitude.com/groupidentify>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'api_key=<API_KEY>' \
--data-urlencode 'identification=[{"group_properties":{"org csm":"Lucas","org plan":"Enterprise","org owner":"Luis"},"group_type":"Seller","group_value":"12345678"}]'

Required parameters

Identification parameter keys

group_properties supports these operations:

Status codes

Was this helpful?