Group
Associate a user with an account and set account traits.
The group call associates a user with an account in Accoil and sets account-level traits such as company name, plan, and industry.
Looking for the legacy v1 endpoint? See POST /v1/groups.
Authorization
V2BasicApiKey Authorization<token>
Use format "Basic API_KEY" where API_KEY is your unique Accoil API key. Found under Account > General settings.
In: header
Request Body
application/json
Group identify
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://in.accoil.com/v2/group" \ -H "Content-Type: application/json" \ -d '{ "groupId": "account_22" }'Empty
Empty
Empty