> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.de/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get subscription definitions

> Rufen Sie eine Liste aller Abonnementstatusdefinitionen vom Account ab.

> [accordion] Supported products

> [accordion] Required Scopes


## OpenAPI

````yaml specs/legacy/v3/communication-preferences-subscriptions-v3.json GET /communication-preferences/v3/definitions
openapi: 3.0.1
info:
  title: Communication Preferences Subscriptions
  description: Basepom for all HubSpot Projects
  version: v3
  x-hubspot-product-tier-requirements:
    marketing: ENTERPRISE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
  x-hubspot-related-documentation:
    - name: Subscription Preferences Guide
      url: >-
        https://developers.hubspot.com/docs/guides/api/marketing/subscriptions-preferences
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Advanced
  - name: Basic
paths:
  /communication-preferences/v3/definitions:
    get:
      tags:
        - Basic
      summary: Alle Abonnementstatusdefinitionen abrufen
      description: Rufen Sie eine Liste aller Abonnementstatusdefinitionen vom Account ab.
      operationId: get-/communication-preferences/v3/definitions_getPage
      parameters: []
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionDefinitionsResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - communication_preferences.read_write
        - oauth2:
            - communication_preferences.read
components:
  schemas:
    SubscriptionDefinitionsResponse:
      required:
        - subscriptionDefinitions
      type: object
      properties:
        subscriptionDefinitions:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionDefinition'
    SubscriptionDefinition:
      required:
        - createdAt
        - description
        - id
        - isActive
        - isDefault
        - isInternal
        - name
        - updatedAt
      type: object
      properties:
        businessUnitId:
          type: integer
          description: Die ID des Unternehmensbereichs, der dem Abonnement zugeordnet ist.
          format: int64
        communicationMethod:
          type: string
          description: Die Kommunikationsmethode für das Abonnement.
        createdAt:
          type: string
          description: >-
            Der Zeitpunkt (Datum und Uhrzeit), zu dem das Abonnement erstellt
            wurde.
          format: date-time
        description:
          type: string
          description: Eine Beschreibung des Abonnements.
        id:
          type: string
          description: Die eindeutige ID für das Abonnement.
        isActive:
          type: boolean
          description: Zeigt an, ob das Abonnement aktiv ist.
        isDefault:
          type: boolean
          description: Zeigt an, ob das Abonnement die Standardoption ist.
        isInternal:
          type: boolean
          description: Zeigt an, ob es sich um ein internes Abonnement handelt.
        name:
          type: string
          description: Der Name des Abonnements.
        purpose:
          type: string
          description: Der Zweck des Abonnements.
        subscriptionTranslations:
          type: array
          description: Eine Liste der Übersetzungen, die dem Abonnement zugeordnet sind.
          items:
            $ref: '#/components/schemas/PublicSubscriptionTranslation'
        updatedAt:
          type: string
          description: >-
            Der Zeitpunkt (Datum und Uhrzeit), zu dem das Abonnement zuletzt
            aktualisiert wurde.
          format: date-time
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: Die Fehlerkategorie
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Kontext zur Fehlerbedingung
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            Eine eindeutige ID für die Anfrage. Berücksichtigen Sie diesen Wert
            in Fehlerberichten oder Support-Tickets.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: Weitere Informationen zum Fehler
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            Eine Zuordnung der Namen von Links zu zugeordneten URIs mit einer
            Dokumentation zum Fehler oder empfohlenen Abhilfemaßnahmen
        message:
          type: string
          description: >-
            Eine für Menschen lesbare Nachricht mit einer Beschreibung des
            Fehlers und ggf. Abhilfemaßnahmen
          example: An error occurred
        subCategory:
          type: string
          description: Eine spezifische Kategorie, die genauere Details zum Fehler enthält
      description: >-
        Stellt eine Fehlerantwort dar, die von der API zurückgegeben wird, wenn
        ein Vorgang fehlschlägt. Diese Komponente wird in verschiedenen
        Endpunkten verwendet, um detaillierte Informationen über den
        aufgetretenen Fehler bereitzustellen.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    PublicSubscriptionTranslation:
      required:
        - createdAt
        - description
        - languageCode
        - name
        - subscriptionId
        - updatedAt
      type: object
      properties:
        createdAt:
          type: integer
          description: >-
            Der Zeitstempel, der anzeigt, wann die Abonnementübersetzung
            erstellt wurde.
          format: int64
        description:
          type: string
          description: Eine Textbeschreibung der Abonnementübersetzung.
        languageCode:
          type: string
          description: >-
            Der Code, der die Sprache für die Abonnementübersetzung
            repräsentiert.
        name:
          type: string
          description: Der Name der Abonnementübersetzung.
        subscriptionId:
          type: integer
          description: >-
            Die eindeutige ID des Abonnements, das der Übersetzung zugeordnet
            ist.
          format: int64
        updatedAt:
          type: integer
          description: >-
            Der Zeitstempel, der anzeigt, wann die Abonnementübersetzung zuletzt
            aktualisiert wurde.
          format: int64
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: Der Statuscode, der dem Fehlerdetail zugeordnet ist
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Kontext zur Fehlerbedingung
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: >-
            Der Name des Felds oder Parameters, in dem der Fehler gefunden
            wurde.
        message:
          type: string
          description: >-
            Eine für Menschen lesbare Nachricht mit einer Beschreibung des
            Fehlers und ggf. Abhilfemaßnahmen
        subCategory:
          type: string
          description: Eine spezifische Kategorie, die genauere Details zum Fehler enthält
      description: >-
        Stellt detaillierte Informationen zu einem in der API aufgetretenen
        Fehler dar. Diese Komponente wird verwendet, um zusätzlichen Kontext und
        spezifische Details zu Fehlern bereitzustellen, typischerweise als Teil
        einer Fehlerantwort.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            communication_preferences.read: ''
            communication_preferences.read_write: ''
            communication_preferences.write: ''

````