API explorerChangelog
Overview

Sections

Theme switcher

Retrieve profiles by custom fields

This method returns one or more profiles that meet the custom field criteria specified in the query string. It supports filtering on multiple custom fields, and the parameters are passed as an array. The first field and value combination start with index 0.

This method can only return up to 50 profiles. If more than 50 matching profiles are found, the API returns a 403-Forbidden.

All active consents, custom fields, groups, tags, and preferences for which you have permissions will be returned in the response.

For example, if you are searching for a profile with the custom field "alpha" having a value of "couch" and the custom field "beta" having a value of "book," use the following request.

Plain text

Header Parameters

Authorizationstring Required

Authorization token

Query Parameters

customFields[0].Namestring
customFields[0].Valuestring
includeConsentHistoryboolean

Optional parameter that, when set to true, returns consent history. When set to false, it returns only the latest consent information. Defaults to true.

Path Parameters

clientIdstring Required

This is your organization’s MyPreferences account Id. A 404 is returned if this value is invalid.

Response

200
Object

Response Attributes

ProfileIdinteger

System-generated unique identifier associated with the profile. Read-only.

IsActiveboolean

Defines whether the item is active or inactive.

Editedobject

Read-only system fields returned as part of an API response. These are updated automatically when a profile is created or modified.

Show child attributes

RegistrationConfirmedboolean

An optional field for clients to use at their discretion to accommodate scenarios in which customer profile verification is performed.

CustomerTypestring

An identifier used to classify a person based on specific criteria. For example, it can represent their buying stage (prospect, lead, customer), firmographics (industry, company size), or any other criteria.

PreserveConsentsboolean

Specifies whether to retain the contact element consents or deactivate them. To retain the contact element consents, set the value as true. If set to false, the contact element consents will be deactivated. This setting defaults to true, if not specified.

Default value
true
PreservePreferencesboolean

Specifies whether to retain the preferences or deactivate them. To retain the preferences, set the value as true. If set to false, the preferences will be deactivated. This setting defaults to true, if not specified.

Default value
true
CustomerNameobject

Name fields associated with the profile.

Show child attributes

DefaultLocalestring

Default Locale for the profile.

UpdateStatusstring

Shows 'Complete' if the record is processed, otherwise 'Pending Update.' Read-only.

ReasonCodestring

An optional parameter used when deactivating a profile to specify the reason for deactivation.

AlternateIdsarray

A collection of additional unique identifiers that can be associated with a profile. For example, customer identifiers from other applications such as Salesforce, Marketo or Facebook can be stored as AlternateIds.

Show child attributes

Addressesarray

A collection of mailing addresses associated with the profile. The address collection can also include any preferences and consents associated with it.

Show child attributes

Emailsarray

A collection of email addresses associated with the profile. The email collection can also include any preferences and consents associated with it.

Show child attributes

PhoneNumbersarray

A collection of phone numbers associated with the profile. The phone number collection can also include any preferences and consents associated with it.

Show child attributes

ProfilePreferencesarray

A collection of preferences associated with the user profile. Profile preferences are tied to the user’s profile. These preferences are not associated with any contact element on the profile.

Show child attributes

Consentsarray

A collection of consents associated with the profile.

Show child attributes

CustomFieldsarray

A collection of custom fields associated with the profile.

Show child attributes

Groupsarray

A collection of Groups associated with the profile.

Show child attributes

ProfileTagsarray

A collection of Tags associated with the profile.

Show child attributes

400
Object
The request was invalid and cannot be processed. This may be a result of a malformed request. You must update the request before trying again.
401
Object
Authentication credentials are missing or incorrect. You must verify your ClientId, UserId, and Authorization Scheme before trying again.
403
Object
The authentication credentials were insufficient to grant access to the requested resource. In most cases, your user may not have the appropriate permissions to access the requested resource. Verify User Group permissions for your user before trying again.
404
Object
The requested resource cannot be found. Most errors in this category are returned when a resource specified on the URL path is not found. In certain instances, it is also returned when a parameter specified in the request body is also not found. See error description for more details.
503
Object
The server encountered an unexpected condition that prevented it from fulfilling the request. Notify PossibleNOW Support if it’s a continuous occurrence.
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?