Get Duplicate Contact
Get Duplicate Contact.
If Allow Duplicate Contact is disabled under Settings, the global unique identifier will be used for searching the contact. If the setting is enabled, first priority for search is email and the second priority will be phone.
email and phone are matched against both the primary and the additional emails and phone numbers of each contact.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
contacts. readonlyOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version. Send v3.
v3v3Query Parameters
Location Id
ve9EPM428h8vShlRW1KTPhone number to look for. URL-encode it, so +14155550123 becomes %2B14155550123.
+14155550123Email — URL-encoded. E.g. [email protected] → test%2Babc%40gmail.com
test%2Babc%40gmail.comResponse
The matching contact along with the field it was matched on, or contact: null when there is no duplicate
The matching contact in the same shape as the Get Contact response, or null when no duplicate was found
Unique identifier of the contact
seD4PfOuKoVMLkEZqohJFull name of the contact
rubika deoIdentifier of the location the contact belongs to
ve9EPM428h8vShlRW1KTFirst name of the contact
rubikaLast name of the contact
DeoTimezone of the contact (IANA time zone name)
Asia/KolkataCompany name of the contact
DGS VolMAXPhone number of the contact
+18832327657Global Do Not Disturb switch for all channels; omitted when never set (treat as false), and when true every channel is blocked irrespective of current dndSettings
trueContact type. One of the options of the location's Contact Type field, lead or customer by default. A contact created without a matching type gets the first option, which is lead by default.
leadSource from which the contact was created
public apiUser Id the contact is assigned to
ve9EPM428h8vShlRW1KTStreet address of the contact
3535 1st St NCity of the contact
BirminghamState of the contact
ALCountry of the contact
USPostal code of the contact
35061Website URL of the contact
https://www.tesla.comList of tags associated with the contact
["nisi sint commodo amet","consequat"]Date of birth of the contact (YYYY-MM-DD)
1990-09-25Date and time the contact was added (ISO 8601)
2021-07-02T05:18:26.704ZDate and time the contact was last updated (ISO 8601)
2021-07-02T05:18:26.704ZDeprecated: leftover field, not populated. Contact files are stored as documents on the contact, not here, so this is empty or absent (older records may still carry stale values). It is not part of the documented contact webhook payloads, but stale values on older records can still appear there. Do not rely on this field.
[]Social Security Number (if applicable)
123-45-6789Gender of the contact. Before v4, Create, Update and Upsert accept it, and the contact returned by Get, lookup, duplicate search and the write responses includes it; Search results do not. Deprecated: from v4 on it is neither accepted nor returned, so store gender in a contact custom field instead.
maleSearch keyword associated with the contact
testLowercase version of the contact first name
rubikaLowercase version of the contact full name
rubika deoLowercase version of the contact last name
deoDate and time of last activity on this contact (ISO 8601)
2021-07-16T11:39:30.564ZCustom field values of the contact. Always returned; an empty array when the contact has no custom field values.
Unique identifier of the custom field
6dvNaf7VhkQ9snc5vnjJValue of the custom field. The data type depends on the field type, consistent with the request format:
- String: Text, large text, single select, radio, phone, email, URL, date (
YYYY-MM-DD), date and time, time, rich text, and a User field that allows one user (the user identifier). - Number: Numeric and monetary.
- Array of strings: Checkbox, multi-select, and a User field that allows several users (user identifiers).
- Object: File upload (see the file upload format in the request), and textbox list (option identifier to text).
- Signature: the image URL as a string, or an object with the image URL in
url.
My Text- string
- number
- string[]
- object
Business Id the contact is associated with
641c094001436dbc2081e642First-touch attribution source details for the contact
Attribution source type
Trigger LinkCampaign name
Summer Sale 2024UTM source parameter
googleUTM medium parameter
cpcUTM content parameter
ad_variation_1Referrer URL
https://www.google.comCampaign Id
641c094001436dbc2081e642Facebook click identifier (the fbclid URL parameter)
IwAR2F4-dbP0l7Mn1IawQQGCINEz7PYXQvwjNwB_qa2ofrHyiLjcbCRxTDMgkGoogle click Id
Cj0KCQjwnNyUBhCZARIsAI9AYlFtNnIcWcYGI0QINz_ZoFI5SSLRRugSoPZoiEu27IZBY1-MAIWmEaAo2VEALw_wcBMicrosoft click Id
MS!AzEREREDJKSJDDoubleClick click Id
EAIaIQobChMIwFacebook click cookie (_fbc), in the form fb.1.<creation time in milliseconds>.<fbclid>
fb.1.1674748390986.IwAR2F4-dbP0l7Mn1IawQQGCINEz7PYXQvwjNwB_qa2ofrHyiLjcbCRxTDMgkFacebook browser cookie (_fbp), in the form fb.1.<creation time in milliseconds>.<random number>
fb.1.1674748390986.1171287961Identifier of the Facebook Pixel or Conversions API event, used to deduplicate the same event sent from the browser and the server
lead_1674748390986_8f3a2cBrowser user agent string
Mozilla/5.0IP address of the visitor
58.111.106.198Attribution medium (e.g. survey, funnel)
surveyId of the attribution medium
FglfHAn30PRwsZVyQlKpLast-touch attribution source details for the contact
Attribution source type
Trigger LinkCampaign name
Summer Sale 2024UTM source parameter
googleUTM medium parameter
cpcUTM content parameter
ad_variation_1Referrer URL
https://www.google.comCampaign Id
641c094001436dbc2081e642Facebook click identifier (the fbclid URL parameter)
IwAR2F4-dbP0l7Mn1IawQQGCINEz7PYXQvwjNwB_qa2ofrHyiLjcbCRxTDMgkGoogle click Id
Cj0KCQjwnNyUBhCZARIsAI9AYlFtNnIcWcYGI0QINz_ZoFI5SSLRRugSoPZoiEu27IZBY1-MAIWmEaAo2VEALw_wcBMicrosoft click Id
MS!AzEREREDJKSJDDoubleClick click Id
EAIaIQobChMIwFacebook click cookie (_fbc), in the form fb.1.<creation time in milliseconds>.<fbclid>
fb.1.1674748390986.IwAR2F4-dbP0l7Mn1IawQQGCINEz7PYXQvwjNwB_qa2ofrHyiLjcbCRxTDMgkFacebook browser cookie (_fbp), in the form fb.1.<creation time in milliseconds>.<random number>
fb.1.1674748390986.1171287961Identifier of the Facebook Pixel or Conversions API event, used to deduplicate the same event sent from the browser and the server
lead_1674748390986_8f3a2cBrowser user agent string
Mozilla/5.0IP address of the visitor
58.111.106.198Attribution medium (e.g. survey, funnel)
surveyId of the attribution medium
FglfHAn30PRwsZVyQlKpAdditional emails associated with the contact
Additional phone numbers associated with the contact
Additional phone number of the contact
+14155550124Label
HomeWorkMobileLandlineMobilevisitorId is the Unique ID assigned to each Live chat visitor.
ve9EPM428h8vShlRW1KTLabel for the primary phone number
HomeWorkMobileLandlineMobileDo Not Disturb for inbound communication from the contact, independent of dnd and dndSettings; omitted when never set (treat as inactive), and when all is active inbound calls and SMS from the contact are blocked
Inbound DND settings applied to all channels
Inbound DND status for this channel
activeinactiveactiveCustom message associated with the inbound DND setting
Please do not contact me via this channelReview request counters for the contact
Number of review request emails sent to the contact
1Number of review request SMS sent to the contact
1Scores of the contact, one per score profile. Each key is the identifier of a score profile in the location, and each value is the contact's current score for it. Scores change when workflows or score profile rules add or subtract points, so a score can be negative. Absent when the contact has never been scored.
URL of the contact profile photo
https://storage.googleapis.com/msgsndr/location/contact/profile-photo.jpgWhere the contact came from when it was created by an import from another system: the import request, the app that ran it and the user who started it. Absent for contacts that were not imported. Treat it as read-only. Other keys can appear on contacts created before this format.
Identifier of the import request that created the contact
6650f1c2a4b3c2d1e0f9a8b7Identifier of the marketplace app that ran the import
6650f1c2a4b3c2d1e0f9a8b6Name of the app that ran the import
HubSpotIdentifier of the user who started the import
ve9EPM428h8vShlRW1KTWhether email verification was skipped for this contact
falsePer-channel DND settings for the contact, keyed by channel (Call, Email, SMS, WhatsApp, GMB, FB, RCS), each with status, message and code
Field the duplicate was matched on. Absent when no duplicate was found. A match on email is reported as contactId (historical naming).
contactIdfingerprintwhatsappBsuidnumberfacebookIdinstagramIdqboIdshopifyIdtikTokLeadIdfacebook_lead_idgmbIdlinkedInLeadIdcontactId