Connect
  1. Sharing
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
      • Remove private data
      • List consent event history - client mode
      • List consent text - client mode
      • List consent text history - client mode
      • List consent groups - client mode
      • List consent given issuer - client mode
      • List consent event history
      • List consent given issuer
      • List consent groups
      • Register consent event - client mode
      • Register consent event
    • 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
        POST
      • Accept subscription share invitation
        PATCH
      • Decline share - client mode
        PATCH
      • List shareable subscription rules
        GET
      • List distribution levels
        GET
      • Change subscription share invitation details
        PATCH
      • List all shared subscribers
        GET
      • Cancel sharing
        PATCH
      • List shareable subscription nets
        GET
      • Change shareable subscription nets
        POST
      • Change distribution level
        PATCH
    • 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. Sharing

List all shared subscribers

Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/subscription/share
Sharing
The user needs to be logged in to use this endpoint, click here to read more.
This API lists all users and potiential users that have recieved a share request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/subscription/share?history&shareType'
Response Response Example
200 - Success
{
    "sharedUserInformationList": [
        {
            "userId": 80,
            "startTime": 1560336440000,
            "endTime": 1591958840000,
            "shareStatus": "SHARE_REQUEST_SENT",
            "shareContact": "+4712345678",
            "shareContactType": "B",
            "firstName": "John",
            "lastName": "Doe",
            "productName": "ABC magazine",
            "productCode": "ABC",
            "shareCode": "XYZ",
            "customerNumber": 28
        }
    ],
    "sharedSubscriptionSummary": [
        {
            "productCode": "ABC",
            "sharesInUseCount": 1
        }
    ]
}

Request

Authorization
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://connectid.no/user/oauth/authorize
Token URL: https://connectid.no/user/oauth/token
Refresh URL: https://connectid.no/user/oauth/token
Scopes:
read-For all access
or
Query Params
history
boolean 
optional
true: Show full share history.
false: Show organized share history, expired or ended shares for the same contact will be comitted (only recent ones will be preserved).
Default:
true
shareType
string 
optional
Share type allows you to specify which subscriptions to incude in the result:
USERS: Just user subscriptions
B2B: Just B2B subscriptions
Default:
USERS

Responses

🟢200OK
application/json
OK
Body
sharedUserInformationList
array [object {12}] 
optional
List of shared subscribers
userId
integer 
optional
userId of receiver for this share.
startTime
integer 
optional
Start date for share
Unix Epoch timestamps in milliseconds since 1st January 1970 UTC.
endTime
integer 
optional
End date for share
Unix Epoch timestamps in milliseconds since 1st January 1970 UTC.
shareStatus
enum<string> 
optional
Status for share
SHARE_REQUEST_SENT: A sharing request is sent.
REQUEST_ACCEPTED: Sharing request is accepted.
REQUEST_DECLINED: Sharing request is declined.
SHARING_ENDED: Sharing is ended.
Allowed values:
SHARE_REQUEST_SENTREQUEST_ACCEPTEDREQUEST_DECLINEDSHARING_ENDED
shareContact
string 
optional
Contact information - Mail or phone number.
A phone number has to follow the telephone number standard E.164.
shareContactType
enum<string> 
optional
Type of share contact
A: Email address
B: Phone number
Allowed values:
AB
firstName
string 
optional
Contact information - first name.
<= 30 characters
lastName
string 
optional
Contact information - last name.
<= 30 characters
productName
string 
optional
Product that is being shared
productCode
string 
optional
A unique code for the product
<= 12 characters
shareCode
string 
optional
Share code, the unique key to find given share
<= 256 characters
customerNumber
integer 
optional
CustomerNumber of receiver for this share.
sharedSubscriptionSummary
array [object {2}] 
optional
List of shared subscription summaries(how many shares is in use).
productCode
string 
optional
The product code
<= 12 characters
sharesInUseCount
integer 
optional
How many shares is in use.
🟠400Bad Request
🟠429429
🔴500Server Error
Previous
Change subscription share invitation details
Next
Cancel sharing
Built with