v1
latestOpenAPI 3.1.02026-07-2295105298.6 KBGroups
Create Group
Creates a new group with associated websites. Requires a global API key. Partner integrations may include an external_id to map their own identifier onto the new Athena group.
post/api/v1/groups
Request body
Example request
{
"name": "Enterprise Clients",
"website_ids": [
"123e4567-e89b-12d3-a456-426614174000",
"987e6543-e21b-12d3-a456-426614174000"
],
"external_id": "acct_9e4c1b8d"
}Response
Group created successfully
Example response
{
"group": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Enterprise Clients",
"orgId": "987e6543-e21b-12d3-a456-426614174000",
"websiteIds": [
"123e4567-e89b-12d3-a456-426614174000"
],
"createdAt": "2024-06-15T10:30:00.000Z",
"externalId": "acct_9e4c1b8d"
}
}