With Resolve API, the ability to match on one or many input fields is available. Map, store and resolve to individuals by sending any identifiers you may already have, such as an email address(es), Twitter handle, Linkedin URL, phone number(s), name and location(address), name and Placekey identifier, social URLs, IDs and/or usernames (except Facebook and Instagram), Mobile Advertising IDs (MAIDs) and your internal customer record IDs, person IDs and a LiveIntent nonID using Resolve API. The Customer Record ID will then be used to locate and maintain an internal mapping which can be used as an input for future requests into FullContact APIs.
The more contact data inputs you can provide either via API or Batch, the better. By providing more contact inputs, the more accurate and precise we can get with our identity resolution capabilities. If your multi-field request contains incomplete identifier combinations alongside valid inputs, the valid inputs only will be used to identify and resolve an individual. For example, if a name/address combination does not adhere to what is acceptable alongside a valid email, only the valid email will be used to lookup an individual.
When providing inputs, there’s a few helpful tips to keep in mind:
curl -X POST \https://api.fullcontact.com/v3/identity.resolve \-H 'Authorization: Bearer {Your API Key}' \-H "Content-Type: application/json" \-d '{"emails": ["bart@fullcontact.com","bart.lorang@fullcontact.com"],"phones": ["+17202227799","+13035551234"],"location": {"addressLine1": "123 Main Street","addressLine2": "Unit 2","city": "Denver","region": "Colorado","regionCode": "CO","postalCode": "80203"},"placekey": "226@5z4-zvy-ffz","name": {"full": "Bart Lorang","given": "Bart","family": "Lorang"},"profiles": [{"service": "twitter","username": "bartlorang"}, {"service": "twitter","userid": "5998422"}, {"service": "linkedin","url": "https://www.linkedin.com/in/bartlorang"}, {"service": "github","url": "https://www.github.com/lorangb"}],"maids": ["ape2ch30-pifn-cbvi-30yy-nia-zex7aw5u"],"recordId": "customer123","personId": "eYxWc0B-dKRxerTw_uQpxCssM_GyPaLErj0Eu3y2FrU6py1J","li_nonid": "-CmQui5eT6tqBVqQ874WGCv4DNO_taXJOAxVlQ"}'
var fetch = require('node-fetch');fetch('https://api.fullcontact.com/v3/identity.resolve',{method: 'POST',headers: {"Authorization": "Bearer {Your API Key}"},body: JSON.stringify({"emails": ["bart@fullcontact.com","bart.lorang@fullcontact.com"],"phones": ["+17202227799","+13035551234"],"location": {"addressLine1": "123 Main Street","addressLine2": "Unit 2","city": "Denver","region": "Colorado","regionCode": "CO","postalCode": "80203"},"placekey": "226@5z4-zvy-ffz","name": {"full": "Bart Lorang","given": "Bart","family": "Lorang"},"profiles": [{"service": "twitter","username": "bartlorang"}, {"service": "twitter","userid": "5998422"}, {"service": "linkedin","url": "https://www.linkedin.com/in/bartlorang"}, {"service": "github","url": "https://www.github.com/lorangb"}],"maids": ["ape2ch30-pifn-cbvi-30yy-nia-zex7aw5u"],"recordId": "customer123","personId": "eYxWc0B-dKRxerTw_uQpxCssM_GyPaLErj0Eu3y2FrU6py1J","li_nonid": "-CmQui5eT6tqBVqQ874WGCv4DNO_taXJOAxVlQ"}).then(function(res) {return res.json();}).then(function(json){console.log(json);});
import urllib.request, jsonreq = urllib.request.Request('https://api.fullcontact.com/v3/identity.resolve')req.add_header('Authorization', 'Bearer {Your API Key}')data = json.dumps({"emails": ["bart@fullcontact.com","bart.lorang@fullcontact.com"],"phones": ["+17202227799","+13035551234"],"location": {"addressLine1": "123 Main Street","addressLine2": "Unit 2","city": "Denver","region": "Colorado","regionCode": "CO","postalCode": "80203"},"placekey": "226@5z4-zvy-ffz","name": {"full": "Bart Lorang","given": "Bart","family": "Lorang"},"profiles": [{"service": "twitter","username": "bartlorang"}, {"service": "twitter","userid": "5998422"}, {"service": "linkedin","url": "https://www.linkedin.com/in/bartlorang"}, {"service": "github","url": "https://www.github.com/lorangb"}],"maids": ["ape2ch30-pifn-cbvi-30yy-nia-zex7aw5u"],"recordId": "customer123","personId": "eYxWc0B-dKRxerTw_uQpxCssM_GyPaLErj0Eu3y2FrU6py1J","li_nonid": "-CmQui5eT6tqBVqQ874WGCv4DNO_taXJOAxVlQ"})response = urllib.request.urlopen(req,data)
require 'rest-client'require 'json'response = RestClient.post("https://api.fullcontact.com/v3/identity.resolve",{"emails": ["bart@fullcontact.com","bart.lorang@fullcontact.com"],"phones": ["+17202227799","+13035551234"],"location": {"addressLine1": "123 Main Street","addressLine2": "Unit 2","city": "Denver","region": "Colorado","regionCode": "CO","postalCode": "80203"},"placekey": "226@5z4-zvy-ffz","name": {"full": "Bart Lorang","given": "Bart","family": "Lorang"},"profiles": [{"service": "twitter","username": "bartlorang"}, {"service": "twitter","userid": "5998422"}, {"service": "linkedin","url": "https://www.linkedin.com/in/bartlorang"}, {"service": "github","url": "https://www.github.com/lorangb"}],"maids": ["ape2ch30-pifn-cbvi-30yy-nia-zex7aw5u"],"recordId": "customer123","personId": "eYxWc0B-dKRxerTw_uQpxCssM_GyPaLErj0Eu3y2FrU6py1J","li_nonid": "-CmQui5eT6tqBVqQ874WGCv4DNO_taXJOAxVlQ"}.to_json,{:authorization => "Bearer {Your API Key}"})JSON.parse(response.body)
import org.apache.http.client.fluent.Request;import org.apache.http.entity.StringEntity;Request.Post("https://api.fullcontact.com/v3/identity.resolve").addHeader("Authorization","Bearer {Your API Key}").body(new StringEntity("{" +"\"emails\": [" +"\"bart@fullcontact.com\"," +"\"bart.lorang@fullcontact.com\"" +"]," +"\"phones\": [" +"\"+17202227799\"," +"\"+13035551234\"" +"]," +"\"location\": {" +"\"addressLine1\": \"123 Main Street\"," +"\"addressLine2\": \"Unit 2\"," +"\"city\": \"Denver\"," +"\"region\": \"Colorado\"," +"\"regionCode\": \"CO\"," +"\"postalCode\": \"80203\"" +"}," +"\"placekey\": " +"\"226@5z4-zvy-ffz\"" +"," +"\"name\": {" +"\"full\": \"Bart Lorang\"," +"\"given\": \"Bart\"," +"\"family\": \"Lorang\"" +"}," +"\"profiles\": [{" +"\"service\": \"twitter\"," +"\"username\": \"bartlorang\"" +"}, {" +"\"service\": \"twitter\"," +"\"userid\": \"5998422\"" +"}, {" +"\"service\": \"linkedin\"," +"\"url\": \"https://www.linkedin.com/in/bartlorang\"" +"}, {" +"\"service\": \"github\"," +"\"url\": \"https://www.github.com/lorangb\"" +"}]" +"\"maids\": [" +"\"ape2ch30-pifn-cbvi-30yy-nia-zex7aw5u\"" +"]," +"\"recordId\": " +"\"customer123\"" +"," +"\"personId\": " +"\"eYxWc0B-dKRxerTw_uQpxCssM_GyPaLErj0Eu3y2FrU6py1J\"" +"," +"\"li_nonid\": " +"\"-CmQui5eT6tqBVqQ874WGCv4DNO_taXJOAxVlQ\"" +"," +"}\")").execute().returnContent();
Input Fields | |
---|---|
email string Queryable | One email address of the contact. Can accept cleartext, an MD5 or SHA-256 hash representation of the email address to query. Be certain to lowercase and trim the email address prior to hashing. |
emails array Queryable | One or many email addresses of the contact. Can accept cleartext, an MD5 or SHA-256 hash representation of the email address to query. Be certain to lowercase and trim the email address prior to hashing. |
phone string Queryable | Phone number of the contact. For international numbers a country code is required. |
phones array Queryable | One or many phone numbers of the contact. For international numbers a country code is required. |
profiles object Queryable | URLs, IDs and usernames to the profiles on the social platform. |
name.full string Queryable | Full name of the contact (givenName, familyName). Only queryable when provided in conjunction with postal address. |
name.given string Queryable | The given name (first name) of the individual. Only queryable when provided in conjunction with postal address. |
name.family string Queryable | The family name (last name) of the individual. Only queryable when provided in conjunction with postal address. |
location.addressLine1 string Queryable | The first address line for each location. Only queryable when provided in conjunction with name. |
location.addressLine2 string Queryable | The second address line for each location. Only queryable when provided in conjunction with name. |
location.city string Queryable | The city of each location. Only queryable when provided in conjunction with name. |
location.region string Queryable | The region of each location. This is often the state or province. Only queryable when provided in conjunction with name. |
location.regionCode string Queryable | The region code of each location. Only queryable when provided in conjunction with name. |
location.postalCode string Queryable | The postal or ZIP code for each location. Can accept Zip + 4 or Zip. Only queryable when provided in conjunction with name. |
placekey string Queryable | The universal standard identifier for any physical place. Only queryable when provided in conjunction with name. |
maids list Queryable | One or more Mobile Advertising IDs (MAIDs) for an individual. |
recordId string Queryable | The client-driven record id attached to a customer. |
personId string Queryable | The unique, persistent FullContact person id attached to a customer that is scoped per account. |
li_nonid string Queryable | The LiveIntent pre-authenticated digital nonID. |