Connect
  1. Events
Connect
  • ConnectID API Reference
  • Overview
    • API lifecycle
    • OAuth 2.0
    • About the URLs
    • Google analytics
    • Unite payment SDK
    • Events
      • Authentication
      • Connect realtime events
      • Connect/ConnectID realtime events - flowchart
      • ConnectID events
      • ConnectID realtime 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 basic invoice info
      • List basic invoice info for product
      • List invoices and reminders
      • List invoices and reminders for product
      • List invoice details
      • List invoices - client mode
      • List invoices for product - client mode
    • 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
      • 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. Events

ConnectID realtime events

Introduction#

The payload of an event will consist of two parts:
General fields, common to all events
Event specific fields, nested within the data field

General payload fields#

FieldTypeDescription
typeStringType of the event. Possible values are listed below.
timeIntegerEpoch timestamp in milliseconds of the event.
sourceStringSource of the event. Is equal to the Connect client schema name.
statusStringStatus of the resource associated to the event.
dataObjectData for the resource associated to the event.

Event types#

profileName
profileAddress
profileCredential

ProfileName#

This event is generated by ConnectID when there is any changes on name regarding a profile. I.e. when a profile name is added, updated or deleted.
A user can have one or more profiles associated with them, but only one per source. This means that the profileKey should only exist once.

General fields#

FieldDescription
typeThe field will contain the value 'profileName'.
statusThe status of the changes. Possible values:
'new': This is a new name instance associated with the profile.
'change': This is a change of an existing name instance.
'delete': The name instance is deleted.

Event specific fields#

FieldTypeDescriptionNullable
profileKeyobjectKey object regarding the profile.No
uniqueIdIntegerExternal id representing the user.No
profileSourceStringSource of this profile. Possible values that might change:
- ConnectID
- AID
- Facebook
- GooglePlus
- Apple
- Vipps
- Unknown
No
profileNameIdIntegerId identifying the instance.No
companyNameStringCompany name associated with this profile.Yes
lastNameStringLast name associated with this profile.Yes
middleNameStringCompany name associated with this profile.Yes
firstNameStringFirst name associated with this profile.Yes
birthdateInteger<Date>Date of birth associated with this profile. Unix Epoch timestamps in milliseconds since 1st January 1970 UTC.Yes
genderStringGender associated with this profile. Possible values that might change:
- male
- female
- unknown
Yes

Example payload#

{
  "type": "profileName",
  "time": 1679399455,
  "source": "MY_SCHEMA",
  "status": "new",
  "data": {
    "profileKey": {
      "uniqueId": "dummyId",
      "profileSource": "Vipps"
    },
    "profileNameId": 1,
    "companyName": "Magic Company AS",
    "lastName": "Doe",
    "middleName": "Jane",
    "firstName": "John",
    "birthdate": 1761955200000,
    "gender": "male"
  }
}

ProfileAddress#

This event is generated by ConnectID when there is any changes on address regarding a profile. I.e. when a profile address is added, updated or deleted.
A user can have one or more profiles associated with them, but only one per source. This means that the profileKey should only exist once.

General fields#

FieldDescription
typeThe field will contain the value 'profileAddress'.
statusThe status of the changes. Possible values:
'new': This is a new address instance associated with the profile..
'change': This is a change of an existing address instance.
'delete': The address instance is deleted.

Event specific fields#

FieldTypeDescriptionNullable
profileKeyobjectKey object regarding the user profile.No
uniqueIdIntegerExternal id representing the user.No
profileSourceStringSource of this profile. Possible values that might change:
- ConnectID
- AID
- Facebook
- GooglePlus
- Apple
- Vipps
- Unknown
No
profileAddressIdIntegerId identifying the instance.No
careOfAddressStringCare of address associated with this profile.Yes
streetAddressStringStreet address associated with this profile.Yes
streetNumberIntegerStreet number associated with this profile.Yes
entranceStringEntrance associated with this profile.Yes
postalCodeStringPostal code associated with this profile.Yes
postalPlaceStringPostal place associated with this profile.Yes
countryCodeStringCountry code, ISO 3166 - alpha-2, associated with this profile.Yes

Example payload#

{
  "type": "profileAddress",
  "time": 1679399455,
  "source": "MY_SCHEMA",
  "status": "new",
  "data": {
    "profileKey": {
      "uniqueId": "dummyId",
      "profileSource": "Vipps"
    },
    "profileAddressId": 1,
    "careOfAddress": "Magic Company AS",
    "streetAddress": "Main road",
    "streetNumber": 1,
    "entrance": "A",
    "postalCode": "12345",
    "postalPlace": "Oslo",
    "countryCode": "NO"
  }
}

ProfileCredential#

This event is generated by ConnectID when there is any changes on credential regarding a profile. I.e. when a profile credential is added, updated or deleted.
A user can have one or more profiles associated with them, but only one per source. This means that the profileKey should only exist once.

General fields#

FieldDescription
typeThe field will contain the value 'profileCredential'.
statusThe status of the changes. Possible values:
'new': This is a new credential instance associated with the profile..
'change': This is a change of an existing credential instance.
'delete': The credential instance is deleted.

Event specific fields#

FieldTypeDescriptionNullable
profileKeyobjectKey object regarding the user profile.No
uniqueIdIntegerExternal id representing the user.No
profileSourceStringSource of this profile. Possible values that might change:
- ConnectID
- AID
- Facebook
- GooglePlus
- Apple
- Vipps
- Unknown
No
profileCredentialIdIntegerId identifying the instance.No
credentialStringCredential associated with this profile.Yes

Example payload#

{
  "type": "profileCredential",
  "time": 1679399455,
  "source": "MY_SCHEMA",
  "status": "new",
  "data": {
    "profileKey": {
      "uniqueId": "dummyId",
      "profileSource": "Vipps"
    },
    "profileCredentialId": 1,
    "credential": "jane.doe@unite.as"
  }
}
Modified at 2025-12-03 14:14:59
Previous
ConnectID events
Next
Change addresses
Built with