This sample application demonstrates how to use the GoHighLevel Python SDK with SQL as storage option for tokens.
This is a Python/Flask application that shows how to:
- Implement OAuth 2.0 flow with GoHighLevel
- Handle OAuth callbacks and token management using SQL
- Use OAuth tokens to access the GHL API
- Display token information and make authenticated API calls
-
Navigate to this directory
cd python/sample-app-sql -
Install dependencies
pip install -r requirements.txt
-
Set up environment variables
Create a
.envfile in the root directory and copy.env.exampleand add values.
- Start the server
python app.py