Generate subscription links
Generate communication preference links for a subscriber. This endpoint allows you to create URLs for managing preferences and unsubscribing, which are useful for integrating communication preferences into your applications. Learn more about generating preference page URLs and troubleshooting potential issues.
Documentation Index
Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
The communication channel for which to generate links. Must be 'EMAIL'.
EMAIL The ID of the business unit for which the links are being generated. Defaults to 0.
Body
The unique identifier for the subscriber, represented as a string. This property is required.
The language in which the communication preference link should be presented, represented as a string.
The unique identifier for the subscription, represented as an integer.
Response
successful operation
A URL string that directs the subscriber to a page where they can manage their communication preferences.
The unique identifier for the subscriber, represented as a string.
A URL string that allows the subscriber to unsubscribe from all communications.
A URL string that allows the subscriber to unsubscribe from a single communication type.