---
title: "CommunicationPreferenceStatusesBySubscriberId (HubSpot)"
description: "Status for kommunikasjonspreferanser etter abonnent-ID"
language: nb
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nb/datamodels/hubspot/Subscriptions.Status.CommunicationPreferenceStatusesBySubscriberId
original: https://documentation.invantive.eu/en/datamodels/hubspot/Subscriptions.Status.CommunicationPreferenceStatusesBySubscriberId
updated: 2026-12-04T17:47:11Z
license: https://documentation.invantive.eu/nb/
---

# CommunicationPreferenceStatusesBySubscriberId: HubSpot Communication Preference Statuses by Subscriber ID

`read only` `REST`

- Katalog: `Subscriptions`
- Skjema: `Status`
- Label: Communication Preference Statuses by Subscriber ID

Get subscription preferences for a specific contact Retrieve a contact's current email subscription preferences.

Kan kun hente data.

## API-kilde

- Endepunkt: `/communication-preferences/v4/statuses/{subscriberIdString}`
- Operasjon: `get /communication-preferences/v4/statuses/{subscriberIdString}`

## Parametere

| Navn | Datatype | Nødvendig | Standard | Dokumentasjon |
|---|---|:---:|---|---|
| `businessUnitId` | `` | [ ] |  | An optional integer representing the ID of the business unit to filter the subscription status. |
| `channel` | `` | [x] |  | The communication channel for which the subscription status is being retrieved.This parameter is required and currently supports 'EMAIL' as a valid value.(Values: EMAIL) |
| `subscriberIdString` | `` | [x] |  | The unique identifier of the subscriber whose communication preferences status is being retrieved. |

## Tabellkolonner

Kolonnene i tabellen `CommunicationPreferenceStatusesBySubscriberId` vises nedenfor. Hver kolonne har en SQL-datatype. En ny ikke-nullverdi må oppgis for hver nødvendig kolonne til enhver tid under innsetting og oppdatering.

| Navn | Datatype | Etikett | Nødvendig | Karakterer | Dokumentasjon |
|---|---|---|:---:|---|---|
| `businessUnitId` | `int64` | itgen_hubspot_businessunitid | [ ] |  | The ID of the business unit associated with the subscription. |
| `channel` | `varchar2` | itgen_hubspot_channel | [ ] |  | The type of communication channel, with 'EMAIL' as the only supported option. |
| `legalBasis` | `varchar2` | Rettslig grunnlag | [ ] |  | The legal basis for communication, with options including 'LEGITIMATE_INTEREST_PQL', 'LEGITIMATE_INTEREST_CLIENT', 'PERFORMANCE_OF_CONTRACT', 'CONSENT_WITH_NOTICE', 'NON_GDPR', 'PROCESS_AND_STORE', and 'LEGITIMATE_INTEREST_OTHER'. |
| `legalBasisExplanation` | `varchar2` | Forklaring av rettslig grunnlag | [ ] |  | An explanation for the legal basis used for communication. |
| `setStatusSuccessReason` | `varchar2` | itgen_hubspot_setstatussuccessreason | [ ] |  | The reason for the successful change in subscription status, such as 'RESUBSCRIBE_OCCURRED' or 'NO_STATUS_CHANGE'. |
| `source` | `varchar2` | Kilde: | [ ] |  | The origin or method through which the subscription status was set. |
| `status` | `varchar2` | Status | [ ] |  | The current subscription status of the contact, which can be 'SUBSCRIBED', 'UNSUBSCRIBED', or 'NOT_SPECIFIED'. |
| `subscriberIdString` | `varchar2` | itgen_hubspot_subscriberidstring | [ ] |  | The contact's email address. |
| `subscriptionId` | `int64` | itgen_hubspot_subscriptionid | [ ] |  | The unique identifier of the subscription. |
| `subscriptionName` | `varchar2` | itgen_hubspot_subscriptionname | [ ] |  | The name of the subscription. |
| `timestamp` | `datetime` | Tidsstempel | [ ] |  | The date and time when the subscription status was last updated. |


## Utgivelsesmerknader

Hva som har endret seg fra versjon til versjon når det gjelder tabeller, kolonner, attributter og funksjonalitet i driveren:

- [HubSpot](/nb/release-notes/drivers/hubspot)
