There's a new version of the HubSpot API

Starting November 30, 2022, API keys will be sunset as an authentication method. Learn more about this change and how to migrate an API key integration to use a private app instead.

Get email subscription types for a Hub ID

Last updated June 17, 2020

GET /email/public/v1/subscriptions

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

content

Returns all email subscription types that have been created in the given Hub ID.

Required Parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
HubSpot Portal ID portalId=X - Used in the request URL The HubSpot Portal ID for the portal that you're making the call for.
Optional Parameters How to use Description

Example URL:  http://api.hubapi.com/email/public/v1/subscriptions?hapikey=demo