Begin by granting the GHL app access to the SaaS API using OAuth with the oauth.readonly scope to view installed locations and prepare token exchanges.
In AccuLynx, initiate the connection by linking to the SaaS API credentials and approving access to location-level data and subscription actions.
Key actions include: GET /oauth/installedLocations to list locations, POST /oauth/locationToken to exchange tokens, PUT /update-saas-subscription/:locationId to update a subscription, and POST /enable-saas/:locationId to enable SaaS for a location. The oauth.write scope enables location-level actions. Additional endpoints (7-17) are available in the full API docs.
Trigger: User grants OAuth access and installs SaaS API on a specific AccuLynx location.
Actions: Retrieve installed locations, generate an OAuth token, and store it in the location profile for authenticated calls.
GET /oauth/installedLocations
locationId, installedLocations, accessToken
Trigger: After initial install, perform token exchange to obtain a usable access token.
Actions: Call POST /oauth/locationToken to obtain a token; securely store locationToken and accessToken for future calls.
POST /oauth/locationToken
locationId, locationToken, accessToken
Trigger: Subscription changes or new location activation.
Actions: Use PUT /update-saas-subscription/:locationId and POST /enable-saas/:locationId to reflect changes in AccuLynx.
PUT /update-saas-subscription/:locationId; POST /enable-saas/:locationId
locationId, subscriptionStatus, planId
Automate data flows between SaaS API and AccuLynx without writing code, using prebuilt actions and triggers.
Speed onboarding with ready-made endpoints, reducing setup time and manual work.
Centralized visibility and control over connected locations and subscriptions from a single dashboard.
This glossary explains OAuth, access tokens, endpoints, and location concepts used in the AccuLynx–SaaS API integration via GHL.
OAuth is an open standard for secure, token-based authorization that lets apps access user data without sharing credentials.
A Location represents an AccuLynx account or project instance connected to the SaaS API for data exchange.
An access token grants temporary permission to call API endpoints on behalf of the user or app.
An Endpoint is a specific URL path in the SaaS API that performs a defined action or returns data.
Automatically fetch installed locations from SaaS API and keep AccuLynx records up to date in real time.
Push subscription changes from SaaS API to AccuLynx so your stakeholders always see current status.
Control user permissions and data exposure by location to maintain data governance.
Register your SaaS API in GHL, enable oauth.readonly, and collect client ID/secret for AccuLynx integration.
Use GET /oauth/installedLocations and POST /oauth/locationToken to obtain and store tokens for each location.
Enable SaaS for a location with POST /enable-saas/:locationId and verify updates via PUT /update-saas-subscription/:locationId.
No extensive coding is required thanks to the GHL integration framework. Use prebuilt triggers and actions to connect AccuLynx with SaaS API securely. If you prefer, you can extend functionality with small custom scripts, but most setups run fully through the UI.
Essential endpoints include GET /oauth/installedLocations, POST /oauth/locationToken, PUT /update-saas-subscription/:locationId, and POST /enable-saas/:locationId. These establish access, exchange tokens, manage subscriptions, and enable the SaaS connection per location.
Yes. Use a sandbox or test environment if provided by SaaS API. This lets you validate token exchange, location handling, and subscription updates without affecting live data.
To revoke access, disconnect the SaaS API from the AccuLynx integration in GHL settings. Remove stored tokens and reauthorize only when needed. This stops further API calls and data sync.
Data synced typically includes installed locations, subscription details, and status changes. Sensitive tokens are stored securely and never transmitted in plain text.
Due to high volume, we will be upgrading our server soon!
Complete Operations Catalog - 126 Actions & Triggers