Skip to main content
GET
/
api
/
v1
/
groups
List Groups
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"
        }
      ]
    }
  ]
}

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Response

Successful response with list of groups

groups
object[]
required