GET
/
subscription-groups
curl --request GET \
  --url https://api.getbrew.ai/v1/subscription-groups \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "sg_newsletter",
    "name": "Weekly Newsletter",
    "description": "Our weekly digest of product updates and industry insights"
  },
  {
    "id": "sg_product_updates",
    "name": "Product Updates",
    "description": "Get notified about new features and improvements"
  },
  {
    "id": "sg_customers",
    "name": "Customer Communications",
    "description": null
  },
  {
    "id": "sg_promotions",
    "name": "Special Offers",
    "description": "Exclusive deals and promotional content"
  },
  {
    "id": "sg_beta_features",
    "name": "Beta Program",
    "description": null
  }
]

Authorizations

Authorization
string
header
required

Include your Brew API key as a Bearer token in the Authorization header.

Example: Authorization: Bearer bw_api_your_key_here

Response

200
application/json

Subscription groups retrieved successfully

The response is of type object[].