View Source Code

Identities

Set Identity Data

Set the data associated with a specific identity for a user.

Request

  • userToken
    string
  • info
    object
    • info.identityType
      string
    • info.identityId
      string
  • uniqueData
    optional empty object
  • additionalData
    object

Response

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.identities.set({
  // Request body
});