get user traits for a specific source by datakey

Returns: A response object containing a list of traits.

getTraits(
  dataKey: String!
  source: Source!
  labels: [TraitLabel]!
): [Trait]!

Arguments

dataKey
String!
required

A unique key that is generated after a user has completed the data submission flow.

source
Source!
required
A unique key that is generated after a user has completed the data submission flow.

labels
[TraitLabel]!
required
A list of trait label

Type

Trait object

Represents a User Trait.