Read data
Retrieve permitted records from supported resources, such as contacts or opportunities, for reporting or synchronization.
Want to connect GoHighLevel with your own app, website, CRM, or automation system? The HighLevel REST API lets developers send HTTP requests to supported endpoints for working with CRM data and other platform features. This guide explains authentication, request structure, common API tasks, JavaScript examples, rate limits, and troubleshooting.
Explore Official API Docs View GitHub ProjectsQuick answer: GoHighLevel provides REST API endpoints for supported resources such as contacts, opportunities, calendars, and other CRM functions. To use them, select the appropriate API version and endpoint, authenticate with a supported token, include the required headers and permissions, and send an HTTP request. For private, single-account integrations, a Private Integration Token may be suitable. Public applications generally use OAuth 2.0.
A REST API lets one software application communicate with another over HTTP. Instead of manually exporting CRM data or copying information between tools, your code sends a request to a supported endpoint and processes the response.
For example, your application could submit a new lead to HighLevel, retrieve permitted contact information, or update an opportunity. The exact operations available depend on the endpoint, API version, authentication method, scopes, and account context.
HighLevel's API documentation is available through the official developer documentation. It provides endpoint descriptions, request parameters, authentication requirements, and response schemas.
Retrieve permitted records from supported resources, such as contacts or opportunities, for reporting or synchronization.
Send structured data to supported endpoints to create records when the correct permissions and required fields are provided.
Change supported fields or resources without requiring someone to repeat the same action manually in the CRM.
Build custom connections between HighLevel and other software using API requests, webhooks, and application logic.
One source of confusion is that older articles often use the term API v1, while current HighLevel documentation includes the modern v2 API and newer v3 documentation surfaces. Do not assume that every endpoint has identical versioning or that changing a URL prefix is enough to migrate an integration.
| API reference | What to know | Practical advice |
|---|---|---|
| API v1 | Legacy API version; end of support was December 31, 2025. | Plan migration rather than starting a new integration on v1. |
| API v2 | Modern API surface used by many HighLevel integration guides and Private Integration Tokens. | Follow the endpoint-specific documentation, including required headers and authentication. |
| API v3 documentation | HighLevel also publishes newer versioned documentation, including endpoints under a v3 route prefix where supported. | Use v3 only for endpoints that explicitly document it. Do not assume every v2 endpoint has a v3 equivalent. |
For current endpoint details, start with the HighLevel API reference. For legacy integrations, review the official API migration guide before changing authentication or request formats.
Version: 2021-07-28 header, while newer documented surfaces may use different version conventions. Copy the headers and route from the specific endpoint you are calling.
Before the API can return protected CRM data, it needs to establish that your application is authorized to access the requested resource. HighLevel supports Private Integration Tokens and OAuth 2.0 for different use cases.
A Private Integration Token, often shortened to PIT, is useful for suitable internal integrations that access an agency account or a specific sub-account. You generate the token in HighLevel and choose the scopes it can use.
This can be a practical option for internal synchronization jobs, custom reporting, or a server-side script that works with one account context. A PIT is static and does not automatically refresh like a short-lived OAuth access token. It must be rotated or replaced when needed.
Typical setup:
Authorization header.Official guide: Private Integrations and token setup.
OAuth is generally the appropriate choice when you are developing a public application that other HighLevel accounts can install and authorize. It allows users to grant your app specific permissions without sharing their account passwords with your application.
A typical authorization-code flow involves registering an app, configuring redirect URLs and scopes, sending the user through authorization, exchanging the returned code for tokens, securely storing the tokens, and refreshing access when required.
OAuth has more moving parts than a single private token, but it is designed for delegated access across users and accounts. Use the exact flow documented for your app type.
Official guide: HighLevel OAuth 2.0 documentation.
| Authentication choice | Best fit | Remember |
|---|---|---|
| Private Integration Token | Suitable private, server-to-server integrations | Scope permissions carefully and rotate tokens securely. |
| OAuth 2.0 | Public apps and integrations installed by multiple users or accounts | Implement authorization, token storage, refresh, and revocation handling as documented. |
The simplest way to understand the API is to send one read request. The example below uses a documented location endpoint. It demonstrates the general request structure, but you must replace the placeholder with your own authorized location ID and token.
curl --request GET \
--url "https://services.leadconnectorhq.com/locations/YOUR_LOCATION_ID" \
--header "Authorization: Bearer YOUR_PRIVATE_INTEGRATION_TOKEN" \
--header "Accept: application/json" \
--header "Version: 2021-07-28"
Here is what each part means:
GET requests a resource rather than creating a new one.Authorization supplies the token used to authenticate the request.Accept indicates that the client expects JSON.Version specifies the version required by this documented endpoint.Use the endpoint's current documentation to confirm that the selected token type, location context, route, and headers are correct. A valid token alone does not guarantee access to every endpoint.
HighLevel documents a contact-creation request using a POST method. The following illustrates the payload shape. Use a test account or test contact first, and confirm the endpoint's current required fields before sending it.
curl --request POST \
--url "https://services.leadconnectorhq.com/contacts/" \
--header "Authorization: Bearer YOUR_PRIVATE_INTEGRATION_TOKEN" \
--header "Content-Type: application/json" \
--header "Version: 2021-07-28" \
--data '{
"firstName": "Test",
"lastName": "Contact",
"email": "test@example.com",
"locationId": "YOUR_LOCATION_ID"
}'
This example uses placeholder values. Do not create fake customer records in a live account without a reason. Check the response body and status code, and avoid repeatedly submitting a create request when you are unsure whether the first attempt succeeded.
You can call the REST API directly from JavaScript using fetch, or use the official SDK for a more structured interface. Direct requests are useful when you want to understand the HTTP behavior or work with an endpoint that you prefer to call manually.
const token = process.env.HIGHLEVEL_PRIVATE_INTEGRATION_TOKEN;
const locationId = process.env.HIGHLEVEL_LOCATION_ID;
async function getLocation() {
if (!token || !locationId) {
throw new Error("Missing HighLevel configuration");
}
const response = await fetch(
`https://services.leadconnectorhq.com/locations/${locationId}`,
{
method: "GET",
headers: {
Authorization: `Bearer ${token}`,
Accept: "application/json",
Version: "2021-07-28"
}
}
);
const body = await response.text();
if (!response.ok) {
throw new Error(
`HighLevel API request failed: ${response.status}`
);
}
return body ? JSON.parse(body) : null;
}
getLocation()
.then(data => {
// Process only the fields your app needs.
console.log("Location request succeeded");
})
.catch(error => {
// Do not log tokens or sensitive response data.
console.error(error.message);
});
This example demonstrates the request pattern and basic error checking. It does not cover every production concern, such as retry policy, response schema validation, structured logging, or token rotation. Add those controls before using the code in a critical application.
If you prefer a maintained library, see our GoHighLevel npm package guide and the official SDK repository.
The available endpoints depend on the current API version and permissions. These categories are useful starting points when planning an integration.
Work with supported contact operations, such as creating records, retrieving details, or updating permitted fields.
Build integrations around supported opportunity and pipeline operations for reporting and sales processes.
Connect supported calendar resources and booking operations to scheduling systems or internal applications.
Connect API operations with supported workflow actions or event-based notifications where the relevant functionality is available.
Do not assume every resource supports every HTTP method. An endpoint may allow reads but require different scopes for writes, or it may have specific payload fields and account restrictions. Always review the individual endpoint's documentation before building around it.
A successful request returns a response from the API, often containing JSON data. An unsuccessful request returns an HTTP status code and may include an error body that helps explain what went wrong.
| Status or problem | Possible explanation | What to check |
|---|---|---|
| 400 Bad Request | Malformed JSON, invalid fields, or missing required values. | Compare the payload with the endpoint schema and inspect the response body. |
| 401 Unauthorized | Missing, expired, invalid, or incorrectly supplied credentials. | Verify the Bearer token and authentication method. |
| 403 Forbidden | The authenticated integration lacks permission or access. | Review scopes, account context, and endpoint requirements. |
| 404 Not Found | Wrong route, resource ID, or inaccessible resource. | Check the URL, IDs, and API version. |
| 429 Too Many Requests | The request rate has exceeded an applicable limit. | Reduce request frequency and implement controlled backoff. |
| 5xx server errors | A temporary service-side problem may have occurred. | Retry carefully when appropriate and avoid duplicate write operations. |
These are general HTTP troubleshooting patterns, not a guarantee that every HighLevel response will use the same status for every failure. Inspect the actual response and current endpoint documentation.
HighLevel applies request limits to help maintain service stability. Its published guidance for public v2 API requests using OAuth describes a burst limit of 100 requests per 10 seconds and a daily limit of 200,000 requests per day, measured per Marketplace app and resource context as described in the official policy.
Do not treat these figures as universal limits for every API version, token type, endpoint, or account. Confirm the applicable limits for your integration and monitor the rate-limit response headers where provided.
The published headers include:
X-RateLimit-Limit-DailyX-RateLimit-Daily-RemainingX-RateLimit-Interval-MillisecondsX-RateLimit-MaxX-RateLimit-RemainingOfficial reference: HighLevel API documentation and rate-limit guidance.
These tools solve related but different problems. The REST API is the underlying way your application sends requests to supported endpoints. Webhooks deliver event notifications, while an SDK makes API calls easier to organize in a particular programming language.
| Option | What it does | Use it when |
|---|---|---|
| REST API | Lets your application request or change supported resources. | You need direct control over API calls and data processing. |
| Webhooks | Notify your endpoint when supported events occur. | Your system should react to changes without constant polling. |
| Official SDK | Provides a programming-language interface and helper functions. | You are building a Node.js or TypeScript application. |
| n8n or Zapier | Connect supported services through visual automation. | You want less custom code and the required actions are supported. |
| Native workflows | Automate supported actions inside HighLevel. | Your process can be handled by existing CRM automation features. |
Explore our related guides: GoHighLevel integrations, n8n integration, Zapier integration, and HighLevel workflows.
API access can expose customer information and allow changes to CRM records. Secure implementation is essential, especially if your integration handles contact details, messages, appointments, or sales data.
For Private Integration Tokens, HighLevel recommends periodic rotation and provides a token-rotation process. Check the current instructions for the overlap period and update every service that uses the token before the old credential expires.
Read the official Private Integrations guide for token handling and permission management.
Different endpoints may require different scopes, token contexts, or API versions. Check the permissions required by the specific endpoint and whether your token belongs to the relevant agency or sub-account. Do not assume that access to one resource grants access to every resource.
Valid JSON does not necessarily match the endpoint schema. Check required fields, accepted values, ID formats, headers, and the documented request body. Read the error response before changing unrelated parts of the request.
Legacy API keys are associated with the older API v1 approach, which reached end of support on December 31, 2025. Review the official migration guidance and configure an appropriate Private Integration Token or OAuth flow for your use case.
Duplicate records can occur when a request is retried after a timeout or when your application does not check whether the record already exists. Design a safe matching strategy, check endpoint capabilities, and avoid blindly retrying create operations.
Reduce request volume, avoid unnecessary polling, process results in batches, and respect the applicable rate-limit headers. If supported for your use case, consider webhooks for event-driven updates.
Public browser code is visible to visitors, so it is not a safe place to store a private integration token or client secret. Send requests through a secure server-side endpoint or another approved architecture that protects credentials and validates incoming requests.
Yes. HighLevel provides REST endpoints for supported CRM resources and other platform functionality. See the official API documentation for current routes and requirements.
API access depends on your HighLevel account, plan, app type, endpoint, and applicable usage limits. Some API access is plan-dependent, and your integration may also incur hosting or third-party service costs. Check current account-specific access and pricing before planning a project.
The base URL depends on the API surface. Many documented v2 endpoints use https://services.leadconnectorhq.com, while other documented surfaces may use different route structures. Use the exact base URL and path shown in the current endpoint reference.
A Private Integration Token can suit an internal integration that accesses a specific account context. OAuth is generally more appropriate for public applications that users install and authorize. Confirm the supported authentication method and required scopes for the endpoints you need.
Yes. You can make HTTP requests using Python's HTTP libraries, provided you follow the API's authentication, headers, payload, and permission requirements. Check the official documentation for supported endpoints and examples.
HighLevel provides webhook functionality for supported events and integration use cases. Webhooks complement REST requests: an event can notify your system, which can then make a separate API request when necessary. See the official webhook documentation.
Start with the official GitHub organization, the API SDK repository, and the SDK examples repository. Confirm that any sample uses a currently supported API surface.
The REST API is useful when you need a custom connection or precise control over your data. But for many businesses, HighLevel's built-in CRM, funnels, and workflow automation can handle everyday processes without maintaining a separate application.
Explore the platform first, then decide whether native automation, a connector, or a custom API integration is the right fit.
Explore GoHighLevel Explore HighLevel FeaturesAPI routes, versioning, scopes, rate limits, and authentication requirements can change. Confirm the latest official documentation for the endpoint you intend to use before deploying code or making changes to a live CRM.