Objects

Create Session Request

Expected request body for the create session endpoint. Information is normally pertaining an end user the session is being created for.

contactEmailstring

Contact email address of the person the session is being created for

contactPhonestring

Contact phone number of the person the session is being created for

firstNamestring

First name of the person the session is being created for

lastNamestring

Last name of the person the session is being created for

metadataobject

Additional session metadata object, provided as a Map<String, String>.

personalNumberstring

Personal number that identifies the person the session is being created for

{
  "contactEmail": "em@ail.com",
  "contactPhone": 46,
  "firstName": "Förnamn",
  "lastName": "Efternamn",
  "metadata": {
    "contactTime": "Before lunch (kl: 10-12)",
    "customerFlow": "email",
    "customerTier": "gold",
    "productSubType": "condoInsurance.condoInsuranceRental",
    "productType": "condoInsurance",
    "referenceId": "reference-id-example"
  },
  "personalNumber": "19401210-2887"
}