Create a profile

POST/cdp/{connection_id}/profile

Parameters

fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection

Payload

idstring
Unique identifier for this profile object
created_atdate
The date that this profile object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this profile object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The full name of the profile
first_namestring
The first name of the profile
last_namestring
The last name of the profile
emailstring
The primary email address of the profile
telephonestring
The primary telephone number of the profile
gender enum
Valid values:
"MALE"
"FEMALE"
"INTERSEX"
"TRANS"
"NON_BINARY"
The gender of the profile
birthdatestring
The birth date of the profile
titlestring
The job title of the profile
companystring
The company/organization name of the profile
addressobject
The address of the profile
identifiers array
The typed identifiers stitched to this profile
metadata array
The traits/attributes of the profile
segments array
The segments/audiences this profile currently belongs to
is_anonymousboolean
Whether the profile is anonymous (no known identity)
consent array
The consent/privacy preferences of the profile
source_idstring
The cdp_source this profile originated from; points to CdpSource

Returns

idstring
Unique identifier for this profile object
created_atdate
The date that this profile object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this profile object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The full name of the profile
first_namestring
The first name of the profile
last_namestring
The last name of the profile
emailstring
The primary email address of the profile
telephonestring
The primary telephone number of the profile
gender enum
Valid values:
"MALE"
"FEMALE"
"INTERSEX"
"TRANS"
"NON_BINARY"
The gender of the profile
birthdatestring
The birth date of the profile
titlestring
The job title of the profile
companystring
The company/organization name of the profile
addressobject
The address of the profile
identifiers array
The typed identifiers stitched to this profile
metadata array
The traits/attributes of the profile
segments array
The segments/audiences this profile currently belongs to
is_anonymousboolean
Whether the profile is anonymous (no known identity)
consent array
The consent/privacy preferences of the profile
source_idstring
The cdp_source this profile originated from; points to CdpSource
const options = {
  method: 'POST',
  url: 'https://api.unified.to/cdp/5de520f96e439b002043d8dc/profile',
  headers: {
    authorization: 'bearer .....'
  },
  data: undefined,
  params: {
    fields: '',
    raw: '',
  }
};

const results = await axios.request(options);
Are we missing anything? Let us know
Was this page helpful?