# Get marketing consent by ID

Get a single marketing consent by its unique identifier.

Endpoint: GET /v1/marketing-consents/{consentId}
Security: OAuth2

## Path parameters:

  - `consentId` (string, required)
    The unique identifier of the marketing consent.

## Response 200 fields (application/json):

  - `id` (string, required)
    The unique identifier for this marketing consent record.

  - `company_id` (string, required)
    The company's unique ID.

  - `full_name` (string, required)
    The full name of the person who has given marketing consent.

  - `email` (string, required)
    The email of the person who has given marketing consent.

  - `source` (string, required)
    The source from which the consent was given.

  - `references` (array)
    Typed references to related entities. Consumers can use these to
fetch additional details (e.g., customer info from the booking).
Absent for legacy consents.

## Response 400 fields (application/json):

  - `message` (string, required)

  - `code` (string, required)


