Generate subscription links
Changed onGenerate communication preference links for a subscriber. This endpoint allows you to create URLs for managing preferences and unsubscribing, tailored to a specific subscriber. It is useful for integrating communication preference management into your applications.
Request
- Base URLhttps://api.hubapi.com
- URLhttps://api.hubapi.com/communication-preferences/2026-09/links/generate
- AuthOAuth 2Authorization code: https://app.hubspot.com/oauth/authorizeToken URL: https://api.hubapi.com/oauth/v1/token scopes: communication_preferences.read_write
Query parameters
The communication channel for which the links are generated. Currently, only 'EMAIL' is supported.
The ID of the business unit for which the links are generated. It is an optional parameter and defaults to 0.
Request body
Response
successful operation
Changes
- info
the endpoint scheme security
private_appswas removed from the API - info
the endpoint scheme security
private_appswas removed from the API - info
the security scope
communication_preferences.read_writewas added to the endpoint's security schemeoauth2 - info
the security scope
communication_preferences.readwas removed from the endpoint's security schemeoauth2 - info
the security scope
communication_preferences.writewas removed from the endpoint's security schemeoauth2 - info
api tag
Statusadded - info
api tag
Advancedremoved
- info