Most people who search for a developer need one less than they think. HighLevel's workflow builder can receive data, send it out, and run small pieces of JavaScript without a server. Code outside HighLevel earns its cost when data has to move both ways, across many sub-accounts, or with logic the builder can't hold. This page helps you tell which case you're in, then shows how we build the ones that need code.
Do you need a developer, or is no-code enough?
Each row is a common integration need, the built-in HighLevel route, and the point where that route stops being enough. Feature names are HighLevel's.
| You need to | Built-in route in HighLevel | When it needs real code |
|---|---|---|
| Send leads from another tool into HighLevel | Inbound Webhook trigger: a unique URL per trigger that accepts POST, GET or PUT requests | The other tool can't send webhooks, or you need to match records across systems before creating a contact |
| Send data out when something happens | Custom Webhook action: GET, POST, PUT or DELETE, with Bearer, API key, Basic or OAuth2 authentication | The receiver needs the data reshaped, stored, or retried on failure |
| Reshape data in the middle of a workflow | Custom Code action, written in JavaScript, returning an object or array (response under 2 MB) | The logic needs a database, many records at once, or a long-running job |
| Reuse the same detail everywhere | Custom Values, merged as {{custom_values.name}} | Rarely. This is configuration, not code |
| Store data per contact or deal | Custom Fields, merged as {{contact.first_name}} style fields | When the data lives in your own system and must stay in sync both ways |
| Add a script to a funnel or website | Head or Body tracking code in the funnel or website settings | When the script must call your backend securely |
| Keep your product and HighLevel in sync across many sub-accounts | None | Always. This is an OAuth app with webhooks |
| Show your tool inside HighLevel | None | Always. A marketplace app with Custom Pages, which load your hosted page in an iframe |
Note the cost line under the first three rows. HighLevel bills Inbound Webhook, Custom Webhook and Custom Code as premium workflow executions, so a webhook firing on every contact update is a usage bill, not a free pipe. If the top three rows cover your job, an automation expert who builds the workflows is the right hire, not a developer.
How the GoHighLevel API works today
A lot of tutorials still show the old API. Here is the current state, from HighLevel's own developer docs and its API documentation article.
- API v1 is past end of support. It reached end of support on December 31, 2025. Old integrations may still run, without updates or support.
- Two ways to authorize v2. A Private Integration token, or OAuth 2.0 with the authorization code flow.
- Tokens are either agency or sub-account level. Creating a sub-account needs an agency token; creating a contact needs a sub-account (location) token. An agency token can be exchanged for a sub-account token.
- Every request names an API version in a Version header. Pin it, and test before moving to a newer one.
| Private Integration token | OAuth 2.0 app | |
|---|---|---|
| What it is | A static, scoped access token created in your agency or sub-account settings | An app registered in the HighLevel Marketplace developer portal, private or public |
| Token life | Doesn't expire on its own. HighLevel recommends rotating every 90 days; old and new tokens both work for 7 days after a rotation | Access token about 24 hours (86,399 seconds). Refresh token valid up to a year or until used once |
| Webhooks and custom pages | No | Yes |
| Rate limits | 100 requests per 10 seconds per integration; all tokens on one sub-account share one daily counter | 100 requests per 10 seconds and 200,000 per day, per app per sub-account or agency |
| Best for | One script, one account, read and write | Many sub-accounts, events pushed to you, or a page inside HighLevel |
The detail that breaks most first-time OAuth builds: a refresh token works once. Use it, and the response carries a new one that must be saved before the old one is thrown away. Lose the new one, and there is no valid token left to refresh with. The limits are on HighLevel's rate limits page; plan bulk imports and syncs around them, since requests over the limit get a 429.
GoHighLevel webhooks: two different things with one name
"Webhook" means two separate features in HighLevel, and mixing them up leads to the wrong build.
Workflow webhooks
Built in the workflow builder. Inbound Webhook starts a workflow from outside data; Custom Webhook sends data out as a step. No app needed. Each run is a premium execution billed by HighLevel.
App webhooks
Events HighLevel pushes to an OAuth app you register, such as ContactCreate, OpportunityStatusUpdate, AppointmentCreate and InboundMessage. HighLevel lists more than 50 event types.
For app webhooks, HighLevel's webhook integration guide says to verify the X-GHL-Signature header (Ed25519) and treats the older X-WH-Signature header as legacy. It also retries a failed delivery up to 12 times, with exponential backoff, on any response that isn't a 2xx. Two rules follow from that, and we build both in. The receiver answers fast and does the work after. And it handles the same event arriving twice without creating a second contact or a second invoice.
Integration scope: what each kind of job involves
We don't price per endpoint or per hour. Each job gets one fixed price inside our range, and the type of integration decides where it lands.
| Integration | What we build | Access it needs | Where it lands in $1,499 to $5,500 |
|---|---|---|---|
| One-way lead feed into one sub-account | Inbound Webhook or an API upsert, field mapping, a duplicate rule | Webhook URL or a Private Integration token | Bottom |
| Custom Code steps inside workflows | JavaScript steps for formatting, scoring or routing | None beyond the workflow builder (premium executions) | Bottom, usually part of a larger build |
| Outbound sync to accounting, ERP or a data warehouse | Webhook receiver with signature check, retries handled, a log you can read | OAuth app for app webhooks, or Custom Webhook from workflows | Middle |
| Two-way sync with your own database or product | Service that reads app webhooks and writes through the API, with loop prevention so updates don't bounce back and forth | OAuth app, token storage and refresh | Middle to top |
| Agency automation: new sub-accounts, SaaS switched on | Calls to Create Sub-Account and Enable SaaS for Sub-Account | Agency token; HighLevel documents these endpoints as Founder plan only | Middle to top |
| Private marketplace app with a page inside HighLevel | OAuth install flow, install and uninstall events, a Custom Page that reads the signed-in user's context through a shared secret | Private OAuth app (HighLevel caps a new private app at 5 agencies) | Top |
The written quote names the systems, the direction data moves, the fields, and what happens on failure.
What the HighLevel API can't do yet, and how we plan around it
- Workflows through the API are limited. HighLevel lists a Create Workflow endpoint, but only selected sub-accounts have it; others get a 403 WORKFLOW_API_NOT_ENABLED_FOR_LOCATION. We build workflows in the builder and let code feed them.
- HighLevel won't debug your code. Its support team does not provide custom API development or integration setup. API bugs go to its developer support channel. Someone has to own the integration after launch, which is what our six months of maintenance covers.
- Agency-level custom JS and CSS is unsupported. HighLevel calls it "powerful but unsupported", so HighLevel won't help if a dashboard tweak breaks after a release. We use it sparingly and write down every line.
- Some endpoints need the Founder plan. If your integration creates sub-accounts or switches on SaaS, check the plan first. That work usually comes with a GoHighLevel SaaS mode setup.
How a developer project runs with us
- Data map before codeWhich system owns each field, which direction it moves, what counts as the same contact in both places, and what should happen when one side is down.
- Access in your nameThe Private Integration token or OAuth app is created for your HighLevel account with only the scopes the job needs. You can revoke it at any time.
- Build against a test sub-accountReal payloads, real rate limits, no live contacts touched until the flow passes.
- Logging you can readEvery sync writes what it did and what failed, so a missing contact can be traced instead of guessed at.
- Cutover and handoverSwitch on, watch the first live runs, then hand over the data map, the token scopes and the runbook. Where the code is hosted is set in the written scope.
- Six months of maintenanceIf the integration we built stops working in that time, including after a HighLevel change, we fix it free. New endpoints or new systems are quoted separately.
When you don't need a GoHighLevel developer
- The other tool already has a HighLevel app. Check the HighLevel App Marketplace first. Installing an existing app beats maintaining custom code.
- A webhook and a workflow cover it. If the first three rows of the table above fit, you need workflow work, not code.
- You have a developer on staff. HighLevel's developer docs are public and fairly complete. Your developer may only need an hour on the access model and the rate limits above.
- You're moving off another CRM. Moving records is a GoHighLevel migration job first. Some platforms have importers, and a migration rarely needs a permanent integration.
Not sure which you need? A GoHighLevel expert call sorts it out in one conversation, and the quote you get says which kind of work it is.
GoHighLevel API and webhook errors: symptom, cause, fix
The errors below are the ones developers post about in the n8n, Make, Zapier, Pabbly and Bubble communities and on HighLevel's ideas board. Each cause links to HighLevel's own documentation.
| Symptom | Usual cause | Fix |
|---|---|---|
| 400 "Invalid grant: refresh token is invalid" | The refresh token was already used or has expired (Get Access Token docs) | Store the new refresh token from every refresh, and refresh from one process only |
| 401 "The token is not authorized for this scope" | The token lacks the scope named on that endpoint's page (Private Integrations article) | Add the scope to the Private Integration, or to the OAuth app while it is a draft version |
| 401 "Invalid JWT" or no Authorization header found | Headers don't match HighLevel's format: Authorization: Bearer plus a Version header (Private Integration token docs) | Send both headers exactly as documented, with a token for the account you are calling |
| 401 or 422 right after choosing a location | An agency (Company) token used on a sub-account endpoint (Get Location Access Token docs) | Exchange it through POST /oauth/locationToken with companyId and locationId |
| Inbound Webhook trigger can't be saved: no mapping reference | No test request captured yet (Inbound Webhook article) | Put the trigger in test mode and send a fresh JSON payload to its URL |
| App webhook events missing or arriving only sometimes | Event not switched on, missing scope, or the endpoint answering slowly or with errors (webhook integration guide) | Enable the event, add the scope, return 200 at once and process after, and ignore repeated deliveries |
| API calls create duplicate contacts | POST /contacts always creates; upsert follows the Allow Duplicate Contact setting (Upsert Contact docs) | Use upsert and turn duplicates off in the sub-account |
| Only some custom fields save | Wrong payload shape: each entry needs an id or key and a fieldValue (Upsert Contact docs) | Look up IDs with the custom fields endpoint and send customFields as a real array |
| Creating an appointment through the API is rejected | The time isn't a free slot, or required fields are missing: calendarId, locationId, contactId and startTime (Create Appointment docs) | Read free slots first (epoch milliseconds, at most 31 days per request), then book a slot that came back |
| Custom Code test runs without your custom values | HighLevel doesn't pass custom values when you test code (Custom Code action article) | Test with contact data, then confirm the custom values on a live run with a test contact |
One note on versions: HighLevel's API versioning page lists v3, released June 11, 2026, alongside 2021-07-28 and older versions. Pin the Version header your endpoint page shows, and test before moving to another.
Questions people ask
Does the old GoHighLevel API v1 still work?
HighLevel says API v1 reached end of support on December 31, 2025. Existing v1 integrations may keep running, but they get no updates and no technical support, and new legacy API key generation is being phased out. If something important still runs on a v1 key, plan the move to v2 now, before it breaks on its own schedule.
Which HighLevel plan do I need for API access?
HighLevel's help center says API access, OAuth 2.0 and Private Integration tokens are available on Starter, Unlimited and Founder. Some endpoints are restricted to higher tiers: creating sub-accounts and enabling SaaS for a sub-account are documented as Founder plan only. Check the endpoints your integration needs against your plan before anyone writes code.
Should I use a Private Integration token or an OAuth app?
Use a Private Integration token when one script talks to one sub-account or one agency and needs no webhooks or custom pages. It is a fixed, scoped token you rotate yourself. Use an OAuth app when the integration must install across many sub-accounts, receive app webhooks, or show a custom page inside HighLevel. OAuth needs token refresh handling.
What are the GoHighLevel API rate limits?
HighLevel documents a burst limit of 100 requests per 10 seconds and a daily limit of 200,000 requests per 24 hours, counted per app per sub-account or agency. Private Integration tokens on the same sub-account share one daily counter. Requests over the limit get a 429 response, so a bulk sync needs queuing and backoff.
Why does my HighLevel refresh token fail with invalid_grant?
Because it was already used, or it expired. HighLevel's OAuth docs say a refresh token is invalid once used, and each refresh returns a new refresh token that is valid for a year. Save the new one before you discard the old one, and never let two processes refresh the same token at the same time. If no valid token is left, the app has to be authorized again.
What does "The token is not authorized for this scope" mean?
Your token lacks the scope that endpoint needs. Each endpoint page in HighLevel's API docs names its scope, for example contacts.write to upsert a contact. For a Private Integration, edit the integration and add the scope; HighLevel lets you do that without generating a new token. For an OAuth app, scopes can only be changed while the app is in a draft version.
Why does the HighLevel API return 401 Invalid JWT with my Private Integration token?
Check the headers against HighLevel's own example: Authorization: Bearer followed by the token, plus a Version header, which the example sets to 2021-07-28. Also confirm the token belongs to the sub-account or agency you are calling. HighLevel shows a Private Integration token only once when it is created, so if the copy is wrong, rotate it and store the new one.
How do I get a sub-account token from an agency-level OAuth install?
Exchange it. Call POST /oauth/locationToken with the agency token, sending the companyId and the locationId you want; the app needs the oauth.write scope. HighLevel's docs note that an app only agencies can install returns a Company (agency) token, and sub-account calls such as creating a contact need a Location token, which is why calls fail right after choosing a location.
My Inbound Webhook returns 200 but shows no sample data. How do I save the trigger?
The trigger needs a captured request to build its mapping reference. HighLevel staff's answer on its ideas board was to put the trigger in test mode and send a fresh JSON payload to the trigger's unique URL. HighLevel's Inbound Webhook article asks for JSON, and users report trouble mapping deeply nested data, so send a flat payload where you can.
Why aren't my app's HighLevel webhook events arriving?
Check three things from HighLevel's webhook guide. The event must be switched on with your URL pasted against it in the app settings. The app needs the scopes for that data. And your endpoint must answer with a 2xx quickly: HighLevel retries failures up to 12 times, and an endpoint that fails often at high volume can be flagged and have deliveries paused.
Why do the API or Zapier create duplicate contacts instead of updating them?
Two causes. A plain POST to the contacts endpoint always creates a new contact, so use the upsert endpoint. Upsert follows the sub-account's Allow Duplicate Contact setting under Settings, Business Profile, and creates new records if duplicates are allowed. Turn duplicates off and pick Email or Phone as the match field. Contacts arriving from Zapier follow the same setting.
Why won't custom fields update through the HighLevel API?
Usually the payload shape. Custom fields go in a customFields array, each entry with an id or key and a fieldValue; HighLevel marks the older field_value as deprecated. Get the IDs from GET /locations/{locationId}/customFields. In no-code tools, check the array isn't being sent as a text string, which is what broke the update in one n8n user's case.