0% found this document useful (0 votes)
34 views

Untitled

The author accessed the Highlevel API documentation and found the location API endpoint. They obtained the location ID and API key from the Randon Aviation web app. Then in Postman, the author set up an environment with the location ID in the query parameter and API key in the authorization header. When running the GET location API request, they received a 200 status code and the location data in JSON format, including details like name, address, and settings.

Uploaded by

حامدولی
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Untitled

The author accessed the Highlevel API documentation and found the location API endpoint. They obtained the location ID and API key from the Randon Aviation web app. Then in Postman, the author set up an environment with the location ID in the query parameter and API key in the authorization header. When running the GET location API request, they received a 200 status code and the location data in JSON format, including details like name, address, and settings.

Uploaded by

حامدولی
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

First of all I went to the documentation shared by you link:

https://help.gohighlevel.com/support/solutions/articles/48001060529-highlevel-api

I could see that in this there are many other related API, like conversations, forms, location, surveys,
users, opportunities and much others.

I wentto the https://app.randonaviation.com/v2/location/gf0IXpzuoV4vklMwnktr/settings/company

Randonavaitionweb app and loged into this using the email and password provided by you

I found the API key and location Id here.


I back to the High-level Api link I tried to find any related API.

I found location API as in the randon aviatoion we are given the locationid.
https://highlevel.stoplight.io/docs/integrations/d777490312af4-get-location

I found that twothings required

1) the location id which I have


2) accesstoken in authorization that is the api key in my case.
I downloaded and installed the postman.

Set up my environment here

And run the api there.

inserted the locationid in query parameter.

And API key in accesstoken

I received the status code:200

The data is in json:

"locations": [

"id": "i2SpAtBVHSVea1sL6oah",

"name": "Tesla inc",

"address": "3500 Deer Creek Road",

"city": "Palo Alto",

"country": "US",

"state": "CA",

"postalCode": "94304",

"website": "https://www.tesla.com",

"timezone": "US/Central",

"firstName": "John",

"lastName": "Deo",

"email": "[email protected]",

"phone": "+1202-555-0107",

"apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea",

"business": {
"name": "Tesla inc",

"address": "3500 Deer Creek Road",

"city": "Palo Alto",

"country": "US",

"state": "CA",

"postalCode": "94304",

"website": "https://www.tesla.com",

"timezone": "US/Central"

},

"social": {

"facebookUrl": "https://facebook.com/groups/XXX",

"googlePlus": "https://groups.google.com/d/XXX",

"linkedIn": "https://www.linkedin.com/groups/XXX/profile",

"foursquare": "https://foursquare.com/groups/XXX",

"twitter": "https://twitter.com/XXX",

"yelp": "https://yelp.com/XXX",

"instagram": "https://instagram.com/XXX",

"youtube": "https://youtube.com/XXX",

"pinterest": "https://pinterest.com/XXX",

"blogRss": "https://rss.xyz.com",

"googlePlaceId": "redfdfdere"

},

"settings": {

"allowDuplicateContact": false,

"allowDuplicateOpportunity": false,

"allowFacebookNameMerge": false,

"disableContactTimezone": false

},

"id": "i2SpAtBVHSVea1sL6oah",
"name": "Tesla inc",

"address": "3500 Deer Creek Road",

"city": "Palo Alto",

"country": "US",

"state": "CA",

"postalCode": "94304",

"website": "https://www.tesla.com",

"timezone": "US/Central",

"firstName": "John",

"lastName": "Deo",

"email": "[email protected]",

"phone": "+1202-555-0107",

"apiKey": "2c359c82-590a-4d6f-ac76-32b7a1e649ea",

"business": {

"name": "Tesla inc",

"address": "3500 Deer Creek Road",

"city": "Palo Alto",

"country": "US",

"state": "CA",

"postalCode": "94304",

"website": "https://www.tesla.com",

"timezone": "US/Central"

},

"social": {

"facebookUrl": "https://facebook.com/groups/XXX",

"googlePlus": "https://groups.google.com/d/XXX",

"linkedIn": "https://www.linkedin.com/groups/XXX/profile",

"foursquare": "https://foursquare.com/groups/XXX",

"twitter": "https://twitter.com/XXX",

"yelp": "https://yelp.com/XXX",

"instagram": "https://instagram.com/XXX",
"youtube": "https://youtube.com/XXX",

"pinterest": "https://pinterest.com/XXX",

"blogRss": "https://rss.xyz.com",

"googlePlaceId": "redfdfdere"

},

"settings": {

"allowDuplicateContact": false,

"allowDuplicateOpportunity": false,

"allowFacebookNameMerge": false,

"disableContactTimezone": false

You might also like