Python3 Example
Here is an example of constructing a request to identify the contacts corresponding to the criteria.
import requests
import json
url = "https://api.neuron360.io/contact/search"
payload = json.dumps({
"parameters": {
"country": [
{
"operator": "includes",
"value": [
"United Kingdom"
]
}
],
"first_name": [
{
"operator": "includes",
"value": [
"john"
]
}
],
"job_title": [
{
"operator": "includes",
"value": [
"developer"
]
}
]
},
"reveal_all_data": False
})
headers = {
'x-api-key': <<INSERT YOUR API KEY HERE>>,
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Updated 9 days ago