curl --request GET \
--url https://services.leadconnectorhq.com/locations/search \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locations": [
{
"id": "ve9EPM428h8vShlRW1KT",
"name": "Mark Shoes",
"phone": "+1410039940",
"email": "john.doe@mail.com",
"address": "4th fleet street",
"city": "New York",
"state": "Illinois",
"country": "US",
"postalCode": "567654",
"website": "https://yourwebsite.com",
"timezone": "US/Central",
"settings": {
"allowDuplicateContact": false,
"allowDuplicateOpportunity": false,
"allowFacebookNameMerge": false,
"disableContactTimezone": false
},
"social": {
"facebookUrl": "https://www.facebook.com/",
"googlePlus": "https://www.googleplus.com/",
"linkedIn": "https://www.linkedIn.com/",
"foursquare": "https://www.foursquare.com/",
"twitter": "https://www.foutwitterrsquare.com/",
"yelp": "https://www.yelp.com/",
"instagram": "https://www.instagram.com/",
"youtube": "https://www.youtube.com/",
"pinterest": "https://www.pinterest.com/",
"blogRss": "https://www.blogRss.com/",
"googlePlacesId": "ChIJJGPdVbQTrjsRGUkefteUeFk"
}
}
]
}Search Sub-Account (Formerly Location)
curl --request GET \
--url https://services.leadconnectorhq.com/locations/search \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locations": [
{
"id": "ve9EPM428h8vShlRW1KT",
"name": "Mark Shoes",
"phone": "+1410039940",
"email": "john.doe@mail.com",
"address": "4th fleet street",
"city": "New York",
"state": "Illinois",
"country": "US",
"postalCode": "567654",
"website": "https://yourwebsite.com",
"timezone": "US/Central",
"settings": {
"allowDuplicateContact": false,
"allowDuplicateOpportunity": false,
"allowFacebookNameMerge": false,
"disableContactTimezone": false
},
"social": {
"facebookUrl": "https://www.facebook.com/",
"googlePlus": "https://www.googleplus.com/",
"linkedIn": "https://www.linkedIn.com/",
"foursquare": "https://www.foursquare.com/",
"twitter": "https://www.foutwitterrsquare.com/",
"yelp": "https://www.yelp.com/",
"instagram": "https://www.instagram.com/",
"youtube": "https://www.youtube.com/",
"pinterest": "https://www.pinterest.com/",
"blogRss": "https://www.blogRss.com/",
"googlePlacesId": "ChIJJGPdVbQTrjsRGUkefteUeFk"
}
}
]
}Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
API Version
2021-07-28 The company/agency id on which you want to perform the search
The value by which the results should be skipped. Default will be 0
The value by which the results should be limited. Default will be 10
The order in which the results should be returned - Allowed values asc, desc. Default will be asc
Successful response
Show child attributes
Was this page helpful?