v1

latestOpenAPI 3.0.3Elastic License 2.02026-07-1712727.3 KB
HTTP API

Group

The group call lets you link an identified user with a group such as a company, organization, or an account. It also lets you record any custom traits associated with that group, like the name of the company, the number of employees, etc.

post/v1/group

Request body

userIdstring

Unique identifier for a particular user in your database.

anonymousIdstring

Sets the user ID for cases where there is no unique identifier for the user.

groupIdstring

Unique identifier of the group, as present in your database.

traitsobject

Dictionary of the traits associated with the group, such as name or email.

timestampstring date-time

The timestamp of the message’s arrival.

Response

StatusOK