Passer au contenu principal
GET
/
email
/
public
/
v1
/
subscriptions
Get email subscription types for a Hub ID
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/subscriptions
{
  "subscriptionDefinitions": [
    {
      "active": true,
      "portalId": 12345,
      "description": "The default unsubscribe list that all emails in your hub will use",
      "id": 7,
      "name": "Default"
    },
    {
      "active": true,
      "portalId": 12345,
      "description": "Our weekly newsletter informing you about our new happenings",
      "id": 146,
      "name": "Weekly Newsletter"
    }
  ]
}

Paramètres de requête

portalId
integer
requis

The HubSpot Portal ID for the portal that you're making the call for.

Réponse

Email subscription types retrieved successfully

subscriptionDefinitions
object[]
Last modified on April 2, 2026