Saltar al contenido 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"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt

Use this file to discover all available pages before exploring further.

Parámetros de consulta

portalId
integer
requerido

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

Respuesta

Email subscription types retrieved successfully

subscriptionDefinitions
object[]
Last modified on April 13, 2026