Party Trait
Bulk create party trait
POST
/
v1
/
party-trait
/
bulk
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
x-site-context
string
requiredThe x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
Body
application/json
partyIds
string[]
requiredarray of partyIds, partyId will be the internal Id of the record
traitIds
string[]
requiredarray of traitIds, traitId will be the internal Id of the record
traitScores
number[]
array of traitScores
Response
200 - application/json
insertedIds
object
an object with index key and user trait Id value
insertedCount
number
number of inserted data
Was this page helpful?