In this article, we will discuss how to get G99+ API details and how to use it in order to get your data being funneled into Growth99+.
Here in G99+ platform, all the endpoints are secured. So, in order to access the API details, you need API token, and to get the token, you need to follow the below steps.
You can directly copy our API key and use it in any API; you will get the results. But keep in mind, the API key will expire in every 12 hours.
Have a look at the 1st heading "Authentication". You have to get the Auth details. You need to have this endpoint https://api.growthemr.com/api/auth
Basically, you are accessing the auth. This is the "POST" request and you need to pass the parameters "email" and "password", this email and password is the one you have used for the Growth99 login, the same email and password you have to use here.
You can use this "Curl Request:" shown below. You need to replace email and the password, and the content type should be "application/json". Once you do that you will receive a response like below; you will get all the access, token, expiry and all.
We have to consider only the "ID token". In order to request any endpoint, you need to pass this ID token. This is how we have to get this Auth token. First we have to get the Auth token, i.e. ID token. Then we have to pass each and every authentication header.
How to integrate lead submission -
Now let's come to how to post the lead. Here you need to have the endpoint "leadsubmission". This is the "POST" method and these four parameters firstName, lastName, email, phoneNumber marked below, are mandatory.
This is the post request and the content type should be "application/json", and you need to pass the authentication token. The ID token you will get from the previous auth post request, that you have to pass and you have to pass the business ID.
Now after you are done with the integration, we suggest you to test it once if your data is being funneled into Growth99+ properly.
For testing, you can copy the token from the manual process. If you want to use in your application then you have to integrate Auth in the application. (first two steps are for the same purpose i,e getting the token)
How to access the form list -
Let's take an example. If you want to access Growth 99 form list, below is the endpoint.
This is the "GET" request. In the authorization header, bearer is the constraint and token is the ID token you get from the previous step which will expire in 12 hours.
So you need to make sure that once it's expired, you need to call the Auth detail again, you need to call the form list and you need to pass tenant ID. It depends upon your account. Tenant ID is nothing but your business ID. This is for getting form list.
How to get a form using form ID -
If you want to get more forms from the form list or if you want to get anything related to a particular form, you need to pass the form ID.
Form ID you get in the previous step (shown below).
The above ID you need to pass and then you will get the details of your form.
Introduction: In the realm of secure API authentication, OAuth (Open Authorization) stands out as a comprehensive and flexible framework. Among its various features, the OAuth refresh token mechanism proves to be superior to static API keys, offering ...
ActiveCampaign's API integration facilitates smooth connectivity between various applications and ActiveCampaign’s dynamic CRM platform, tailored to meet the specific needs of the medical aesthetic industry. ActiveCampaign offers a comprehensive ...
Meevo’s API integration enables seamless connections between various applications and Meevo’s powerful CRM platform, specifically designed to meet the needs of the medical aesthetic industry. Meevo offers a wide range of features, including ...