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"
    }
  ]
}

Query Parameters

portalId
integer
required

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

Response

200
application/json

Email subscription types retrieved successfully

The response is of type object.