Zum Hauptinhalt springen
GET
/
communication-preferences
/
v3
/
definitions
Abonnementdefinitionen abrufen
curl --request GET \
  --url https://api.hubapi.com/communication-preferences/v3/definitions \
  --header 'Authorization: Bearer <token>'
{
  "subscriptionDefinitions": [
    {
      "isInternal": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "isDefault": true,
      "communicationMethod": "<string>",
      "purpose": "<string>",
      "name": "<string>",
      "description": "<string>",
      "id": "<string>",
      "isActive": true,
      "businessUnitId": 123,
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
communication_preferences.read
communication_preferences.read_write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

successful operation

subscriptionDefinitions
object[]
required

Eine Liste aller Abonnementdefinitionen.

I