How to use the GoHighLevel API v2 | Complete Tutorial

How to use the GoHighLevel API v2 | Complete Tutorial

Jannis Moore | AI Automation

4 месяца назад

9,689 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@freshscott
@freshscott - 10.10.2024 03:55

First of all thank you for this video. It has helped me figure out this crazy API. my problem is is set everything up trying to access the social scopes. everything works and i get a
success true
statusCode 201
message Created Post

but i dont see anything posted . Any idea why this isnt working when it says that it did?

Thanks again 🔥

Ответить
@somfplease
@somfplease - 09.10.2024 06:22

You can skip the get CompanyID step for the agency/subaccount. the companyID comes in the original response to get the agency token.

Ответить
@maximewarnault322
@maximewarnault322 - 08.10.2024 15:59

@jannismoore It works on a sub-account that I have created but doesn't work on client sub-accounts, I get this error:

"Invalid locationId or accessToken does not have access to following location"

I have refreshed the connection in Make and made sur to automatically install to new sub-accounts.

I verified and the app is also installed in the sub-account I'm trying to updated.

Not sure why it's not working 🤔

Ответить
@Jonathan.Killam
@Jonathan.Killam - 08.10.2024 04:59

How do you even get dev support? I am so close to completing an automation, but I keep getting a 401 (Unauthorized) code that I can not figure out. different use case

Ответить
@somfplease
@somfplease - 03.10.2024 05:28

the fact you have to use an external service to use the GHL api is pretty crazy. defeats the entire purpose. with API1.0 you just post to and endpoint with api key and you're done. i don't know why oAuth2 is a thing. it's a huge headache.

Ответить
@juanschubert6164
@juanschubert6164 - 28.09.2024 07:39

Is it right that its not necessary to create an app nowadays? I heard they made it easier now?

Ответить
@TimVance
@TimVance - 27.09.2024 01:27

How do I use this API to upload an image to a custom contact field in GHL? I found a way to pull all of the fields using this video but my final step is uploading an image I've dynamically created to a custom field for a contact.

Ответить
@ToddSpencer-j7w
@ToddSpencer-j7w - 24.09.2024 21:36

For some reason the app shows that it is a Agency/Sub-account but it only gives me the sub-account option when I make the connection. Has anyone else had this problem?

Ответить
@thephysiocrew
@thephysiocrew - 21.09.2024 09:56

Hi Jannis, how do you integrate this with go high level so that you can use it as a vapi tool to call facebook leads coming into HighLevel and then feed answers back to high level and book appointment? Is it possible?

Step 1 : Facebook leads come into automation in GHL

Step 2: this triggers call with vapi AI assistant

Step 3:vapi assistant checks and books appointment in GHL

Step 4: confirms and sends email/text reminder confirming appointment from Go high level

Thanks for any help you may be able to offer. I followed this video but not sure how to put it into a make work flow to achieve the above result

Ответить
@MohammedZaidSiddiqui-i4i
@MohammedZaidSiddiqui-i4i - 20.09.2024 11:49

Hey Jannis, great vid. Have you seen the (I believe recently released) "private integrations" feature in the ghl settings dashboard? On ghl support they say we can make api calls to v2 easily with it. Can you shed some light on it? I really think it could save me from going through this whole marketplace fluff.

Ответить
@MohammedZaidSiddiqui-i4i
@MohammedZaidSiddiqui-i4i - 20.09.2024 11:47

Hey Jannis, have you seen the (I believe recently released) "private integrations" feature in the ghl settings sidebar? On ghl support they say we can make api calls to v2 easily with this. Can you shed some light on it?

Ответить
@allthethings9416
@allthethings9416 - 18.09.2024 06:02

I am stuck on the locatinoId part. I have a different use case and I'll be needing the flow to pull in the location ID on it's own. This is going to be used for the stack across multiple SaaS subaccounts so I can't just use one subaccount location ID as a variable.

Ответить
@infinetdigital
@infinetdigital - 17.09.2024 20:40

This is awesome! Very eye opening. Thanks Janis!

Ответить
@ruthkusemiju
@ruthkusemiju - 17.09.2024 17:35

Hi... I am getting a Status 401, following through what you did. But I was doing it for an app install instead of a demo calendar. What do I do? @jannis moore

Ответить
@bridgemedianz
@bridgemedianz - 09.09.2024 08:59

Thank you for creating this video. I've spent so much time trying to make this work!

Ответить
@AlbertMendy-o7b
@AlbertMendy-o7b - 04.09.2024 15:27

Hiii Thank you so much for this video get report of campaigns from
GHL
I'm curious is it possible to

Ответить
@paulread1166
@paulread1166 - 31.08.2024 12:26

Hey Jannis - just wanted to give you a big shout out for this, I finally got it working after probably a couple of weeks - thank you 🙏🙏

Ответить
@marcissobadass
@marcissobadass - 31.08.2024 06:43

Jannis, I can’t thank you enough for this video! You really helped me understand a lot more in 52 minutes 11 seconds then I have in weeks dealing with this 😂

Ответить
@umarfareez889
@umarfareez889 - 28.08.2024 15:13

Great video! Was stuck on getting 400 requests but realized I need to set it to SPACES instead of COMMAS! Thanks for that. However, I'm still struggling to enable scopes because it now requires a webhook URL (a recent update?). What do I add in there?

Ответить
@NicholasValentinoLaMacchia
@NicholasValentinoLaMacchia - 27.08.2024 21:27

It still gives me the error "Request failed with status code 400". I followed all the steps described up to minute 25 to authenticate😢

Ответить
@jackmermigas9465
@jackmermigas9465 - 27.08.2024 01:57

Thank you for this so helpful! My question about scopes is why not just use them all? Like what's the point of selecting the ones you need rather than just allowing all of them to be used? I don't know if I'm restricting or causing problems by not selecting the correct scopes

Ответить
@NathanAshe-xj7zv
@NathanAshe-xj7zv - 22.08.2024 14:30

I'd say this took a few tears to figure out... 😢❤

Ответить
@paulread1166
@paulread1166 - 18.08.2024 20:52

Hey Jannis - great video, I really like the way you teach! Unfortunately the Marketplace screens have changed since you recorded this, so it was a little challenge to figure out where everything went. And now I have that dreaded 400 error when making my OAUTH 2.0 connection, so waiting on HL support. Hopefully I can come back and finish you video in a day or two!

Ответить
@noktuz
@noktuz - 18.08.2024 06:44

I'm unclear on the use of refresh tokens. When are they necessary? Currently, I have a webhook that captures the location ID and gives me the company ID, access token, and sets an expiration date 24 hours after the access token is generated. I only create a new access token when the current time surpasses this expiration date. Given that I can generate a new token whenever needed, under what circumstances should I use a refresh token?

Ответить
@noktuz
@noktuz - 16.08.2024 06:29

I love you LOL!!, I can imagine how difficult it was to discover all this, specialy due to the poor error handling that GHL provides. You rock!

Ответить
@trueindigo8158
@trueindigo8158 - 15.08.2024 19:33

Hi, do I need to have the agency plan on GHL to be able to do this or would the pro plan suffice?

Ответить
@ADHDOCD
@ADHDOCD - 09.08.2024 22:36

Finally found this gem! Thank you! Can you also make a video on adding custom workflow actions to the GHL workflow builder similar to GHL plugins and LevelUpMarketplace?

Ответить
@24mjohnson
@24mjohnson - 08.08.2024 20:55

So following your video, you explain it very well pretty much. You need to be the one doing videos to explain their API 2 for them cause the docs suck and hard to follow.

My question is:
When you run the initial Authorization code URL to get that code to pass to the get access token, you can set a field with the access token and refresh token in your database or mine rather. And set the expire date based on when the expire_in runs out so when you run say createContact then you can check to see if the current date/time is passed the expire_in for the original token and if that's the case then run the refresh token and reset the token in your database then rerun the createContact API end point. Am I correct so far?

So you don't have to re-run that authorization code URL to select and account the redirect to get the new authorization code each time you want to run the createContact End point API? So you run the createContact End point API and check the expire date and if its passed then run refresh token to get new token, then rerun your createContact end point API to create a new contact in gohighlevel correct?

Now what happens when the refresh token expires? It says it expires once a year. Do you have to re-run that authorization code thing again at the end of the one year mark or what? THat's the part that is unclear to me is how often you run the authorization code uri then when or at one point do you run the refresh token part.

Ответить
@hectoraguilar6111
@hectoraguilar6111 - 08.08.2024 16:35

Damn man thanks for this. Question if I use the subaccount method, I don't need to worry about refreshing the token as make will take care of that right? It's only if I use the agency one with the access token that it expires every 24 hours. Did I get that correctly?

Ответить
@robmcconachie9455
@robmcconachie9455 - 05.08.2024 23:27

Fantastic explanation of what to do and not do with GHL API!

Ответить
@LaBellaBeats
@LaBellaBeats - 05.08.2024 06:05

Great video. I created a private agency level app, and it works great in testing with postman, but how do I actually install the app on my agency?

Ответить
@Nada-d3d2d
@Nada-d3d2d - 04.08.2024 09:42

Have you got the endpoint documentation??

Ответить
@frankdambra1810
@frankdambra1810 - 01.08.2024 00:37

So I just need to make a simple Contact Post Request to a sub account via Javascript. How do i get around the login flow to do that? Everything I've seen so far including this wonderful video and the one provided in the docs seems to necessitate a user physically selecting an account from the marketplace screen in order to create a callback to generate the authentication token. I just need to send form data to the database without me logging into the marketplace. Is there a way to login once into my 'app', get the authentication token, then use that is a more direct API call? I guess a problem then there is that it expires after 24 hours.

Ответить
@nicoschneider27
@nicoschneider27 - 30.07.2024 20:25

How do I make the Make App run Immediately as data arrives

Ответить
@manjarulch7259
@manjarulch7259 - 30.07.2024 03:51

I'm sure there is not a single video out there that solves this GHL API issue in such perfect details. Earned my respect bro

Ответить
@Celestian369
@Celestian369 - 29.07.2024 11:24

Awesome stuff, thanks a lot!

Ответить
@natelasko528
@natelasko528 - 22.07.2024 22:42

I need help getting this to connect to the workflows. I would like to export my workflows and all of their steps, messages, triggers etc to analyze and create and SOP for each one using ChatGPT. Is this possible?

Ответить
@sethtufte7660
@sethtufte7660 - 21.07.2024 22:08

Bro. You just saved me. Thank you so much! Subscribed

Ответить
@paulied1850
@paulied1850 - 20.07.2024 18:49

I'm getting a 422 status code when trying to run the authorization token request and not sure why. It's saying company id cannot be defined but it should be since i followed all previous steps to find it and added it to my variables. Any thoughts?

Ответить
@geehammer
@geehammer - 20.07.2024 08:54

Invalid Authorization when I try and add Agency

Ответить
@Fahad-j2j
@Fahad-j2j - 17.07.2024 14:28

which GHL plan do we need for this does the 297 one will be enough or should it be 497 one

Ответить
@bramwelamud7429
@bramwelamud7429 - 12.07.2024 15:35

How can i get conversation id

Ответить
@aquarius2713
@aquarius2713 - 08.07.2024 10:33

Can we do this in Zapier, I'm just wondering, our client wants to do similar thing but using Zapier instead of Make.

Ответить
@0net00
@0net00 - 06.07.2024 14:23

This is super helpful. However I'm having an issue with the agency level permissions - I only see sub-accounts in the GHL auth popup. My agency doesn't show there even though I'm logged in using my main agency email. Am I using the wrong URI?

Ответить
@angelpichardoai
@angelpichardoai - 04.07.2024 10:36

have a video on how to book into ghl calendar? and trigger api calls?

Ответить
@IsaacNichols1
@IsaacNichols1 - 03.07.2024 12:06

This is insane. Does this need to be done for each sub account then?

Ответить