Connect
  1. Consent
Connect
  • Connect/ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • ConnectID events
  • Customer Data
    • Address
      • Change addresses
      • List addresses
      • List addresses - client mode
      • List addresses for product - client mode
      • List addresses for product
    • Category
      • List category types
      • List category codes
      • List category codes for category type
    • Customer
      • List customer info
      • Change customer Info
      • Search customer - client mode
      • Check customer number - client mode
      • List customer info - client mode
    • External Reference
      • Remove external reference - client mode
      • Change external reference - client mode
      • List external references - client mode
      • Register external reference - client mode
  • Order Management
    • Article
      • Check article price
    • Coupon
      • Check coupon price - client mode
      • List coupon - client mode
      • List coupon for coupon number - client mode
    • Fulfillment
      • Complete order - client mode
    • Order
      • Order Guide
        • Introduction
        • How to register an order
        • Complete order by fulfillment URL
        • Complete order by fulfillment API
        • Q&A for order
      • List orders
      • Search order details
      • List order product history
      • List order status - client mode
      • Register customer - client mode
      • Register customer
      • Register order - client mode
      • Register order
    • Reward
      • Check reward - client mode
    • User
      • Assign user - client mode
    • Voucher Coupons
      • List voucher code coupons - client mode
  • Payment Services
    • Invoice
      • List invoice details
      • List invoices - client mode
      • List invoices for product - client mode
      • List invoices and reminders
      • List invoices and reminders for product
      • List basic invoice info
      • List basic invoice info for product
    • InvoiceAddress
      • List invoice address
    • Klarna
      • List klarna recurring tokens
      • Add Klarna token
      • Remove Klarna token
    • Nexi
      • List Nexi subscriptions
      • Add Nexi subscription
      • Remove Nexi subscription
    • PayEx
      • List PayEx tokens
      • Add PayEx token
      • Remove PayEx token
    • Payment
      • List payment methods
      • Pay invoice
      • Change payment method
    • Vipps
      • List vipps agreements
      • Add vipps agreement
      • Remove vipps agreement
  • Privacy
    • Consent
      • Access private data
        POST
      • Remove private data
        POST
      • List consent event history - client mode
        GET
      • List consent text - client mode
        GET
      • List consent text history - client mode
        GET
      • List consent groups - client mode
        GET
      • List consent given issuer - client mode
        GET
      • List consent event history
        GET
      • List consent given issuer
        GET
      • List consent groups
        GET
      • Register consent event - client mode
        POST
      • Register consent event
        POST
    • Permission/Shield
      • List global permissions
      • List enterprise permissions
      • Change enterprise permissions
      • List ordertype permissions
      • Change ordertype permissions
      • Check shield ordertype - client mode
      • Check shield enterprise - client mode
    • Privacy
      • List privacy enterprise
      • Change privacy enterprise
      • List privacy ordertype
      • Change privacy ordertype
  • Product & Services
    • Complaint
      • Register complaint
      • List complaints
    • Delivery
      • List next distributions
      • List next distributions - client mode
    • DeliveryStop
      • Remove delivery stops
      • Register delivery stops
      • List delivery stops
      • List delivery stop - client mode
    • Issue
      • List distributed issues
      • List product issues - client mode
    • Product
      • List products - client mode
      • Check product - client mode
      • List specific products - client mode
    • ProductDeliveryPlan
      • List productdeliveryplan - client mode
    • ProductDependency
      • Check product dependency discount - client mode
    • Sharing
      • Send subscription share invitation
      • Accept subscription share invitation
      • Decline share - client mode
      • List shareable subscription rules
      • List distribution levels
      • Change subscription share invitation details
      • List all shared subscribers
      • Cancel sharing
      • List shareable subscription nets
      • Change shareable subscription nets
      • Change distribution level
    • Subscription
      • List shared subscriptions
      • List subscriptions
      • Start subscription
      • List subscriptions - client mode
  • Recruitment
    • Recruitment
      • Register recruitment - client mode
      • List recruitments
      • List premium recruitments
      • Change premium recruitments
      • Register recruitments
    • RecruitmentCampaign
      • List recruitment campaign - client mode
  • User Data
    • Access
      • Check access
      • Check access - client mode
    • Credential
      • Check credential - client mode
    • Metadata
      • List metadata
      • Change metadata
      • Remove metadata
      • List metadata - client mode
      • Change metadata - client mode
      • Remove metadata - client mode
    • Profile
      • List user profile
      • List external user profiles
  • Diverse
    • External Identity
      • Register external Id - client mode
      • Register customer - client mode
    • Message
      • List messages
      • Send message
      • Send message - client mode
    • Status
      • List status messages
    • Stock
      • Change stocks - client mode
      • List stocks - client mode
      • List stocks for product - client mode
  1. Consent

List consent given issuer - client mode

Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/customer/privacy/consents/{issuer}
Consent
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
API for getting consents to given issuer.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/customer/privacy/consents/?consentGroupId&onlyActive'
Response Response Example
200 - Success
{
    "issuer": "468979834",
    "consents": [
        {
            "consentId": 1,
            "consentGroupId": 1,
            "target": "editoral",
            "scope": "email",
            "parentConsentId": 1,
            "selectionOrder": 2,
            "displayMode": "A",
            "created": 1560855388000,
            "texts": [
                {
                    "languageCode": "nb_NO",
                    "name": "Kommunikasjon på epost",
                    "description": "Samtykker du til å motta eposter?"
                },
                {
                    "languageCode": "en_GB",
                    "name": "Communication on email",
                    "description": "Do you agree to recevice emails?"
                }
            ],
            "active": true
        }
    ]
}

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read-For all access
or
Path Params
issuer
string 
required
Used to identify who has required the consent, ex. name of the company.
<= 255 characters
Query Params
consentGroupId
integer 
optional
If group is specified, only for this group will be consents returned
onlyActive
boolean 
optional
Whether to return active records or all the data:
true: It returns data only for active records.
false: It returns all the data.
Default:
true

Responses

🟢200OK
application/json
OK
Body
issuer
string 
optional
Identification of the issuer principal of the consent
<= 255 characters
consents
array [object {10}] 
optional
Consents to given issuer
consentId
integer 
optional
Identification number of consent
consentGroupId
integer 
optional
Group id
target
string 
optional
Identification of the target of consent (e.g. URL of a policy)
<= 255 characters
scope
string 
optional
The scope of the consent can refer to a section or clause in the target
<= 255 characters
parentConsentId
integer 
optional
Parent consent id - if belongs to other consent
selectionOrder
integer 
optional
Selection order for display
displayMode
enum<string> 
optional
Display behavior of consent:
I: Display if parent is inactive.
A: Display if parent is active
S: Display regardless of parent state.
null: Default by application
Allowed values:
IASnull
Default:
null
created
integer 
optional
Consent creation date
Unix Epoch timestamps in milliseconds since 1st January 1970 UTC.
texts
array [object {3}] 
optional
Consent texts
active
boolean 
optional
It informs if the consent group is in use.
true: The consent group is in use.
false: The consent group is not in use.
🟠400Bad Request
🟠429429
🔴500Server Error
Previous
List consent groups - client mode
Next
List consent event history
Built with