API ReferenceGroups
Associate a user with a group
Segment-compatible group() call — associate the user/anonymous id with a group (default type company).
x-logspot-pk<token>
Project public key (prefixed pk_). Safe to expose in client-side code.
In: header
anonymous_id?string|null
user_id?string|null
group_idstring
Length
1 <= length <= 512type?string|null
traits?|null
timestamp?string|null
identity_verification?|null
Response Body
curl -X POST "https://api.logspot.io/group" \ -H "Content-Type: application/json" \ -d '{ "group_id": "string" }'Empty
Empty
Empty