Trait
Create trait
POST
/
v1
/
trait
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
traitId
string
readable Id for trait
name
string
name of the trait
Response
200 - application/json
_id
string
Fabric internal id of the record
isDeleted
boolean
flag that indicates if the record is deleted
traitId
string
readable Id for trait
name
string
name of the trait
createdAt
string
date of creation of the record
updatedAt
string
laste date of update of the record
Was this page helpful?