View Source Code

Identities

Fetch Identity Data

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

Request

  • userToken
    string
  • info
    object
    • info.identityType
      string
    • info.identityId
      string

Response

  • data
    nullable object
    • data.uniqueData
      object
    • data.additionalData
      object

Usage

1. Install the module

2. Use this script

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