cURL
curl --request GET \ --url https://api.athenahq.ai/api/v1/groups \ --header 'x-api-key: <api-key>'
{ "groups": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "Enterprise Clients", "orgId": "987e6543-e21b-12d3-a456-426614174000", "billingEnabled": false, "createdAt": "2024-06-15T10:30:00.000Z", "websites": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "websiteUrl": "example.com", "websiteName": "My Awesome Blog" } ] } ] }
Returns all groups for your organization, including associated websites. Requires a global API key.
API key for authentication. You can create one here.
Successful response with list of groups
Show child attributes
Was this page helpful?