How gohighlevel/highlevel-api-sdk works
This is the official HighLevel TypeScript API SDK. A consumer configures HighLevel, then uses its endpoint services to make authenticated API requests; OAuth sessions, token refresh, rate-limit handling, and webhooks support that workflow. The tree and index show broad endpoint coverage, while excerpts confirm request construction and token-provider behavior. Several endpoint families are represented by their exact enclosing directories because their implementations were not sampled; edges are limited to documented or indexed references.
Main entry points: HighLevel.ts HighLevel client · request-utils.ts Token provider · session-storage.ts Session storage contract · contacts.ts Contacts
Components 22
SDK client
- HighLevel client
lib/HighLevel.ts
API endpoint services
- Contacts
lib/code/contacts/contacts.ts - Conversations
lib/code/conversations/conversations.ts - Calendars
lib/code/calendars/calendars.ts - Invoices
lib/code/invoices/invoices.ts - Payments
lib/code/payments/payments.ts - Products
lib/code/products/products.ts - Marketing tools
lib/code/social-media-posting/social-media-posting.ts - Ad manager
lib/code/ad-manager/ad-manager.ts - SaaS API
lib/code/saas-api/saas-api.ts - Other API domains
lib/code
Auth and sessions
- OAuth service
lib/code/oauth/oauth.ts - Webhook manager
lib/webhook/webhook-manager.ts - Session storage contract
lib/storage/session-storage.ts - Memory sessions
lib/storage/memory-session-storage.ts - MongoDB sessions
lib/storage/mongodb-session-storage.ts
Request support
- Token provider
lib/utils/request-utils.ts - Rate-limit handling
lib/utils/rate-limit.ts - Error handling
lib/errors.ts - Logging
lib/logging/logger.ts
Other components
- SDK consumer
- HighLevel API
Connections 28
- SDK consumer → HighLevel client: configures and calls
- HighLevel client → Contacts: references service
lib/HighLevel.ts - HighLevel client → Conversations: references service
lib/HighLevel.ts - HighLevel client → Calendars: references service
lib/HighLevel.ts - HighLevel client → Invoices: references service
lib/HighLevel.ts - HighLevel client → Payments: references service
lib/HighLevel.ts - HighLevel client → Products: references service
lib/HighLevel.ts - HighLevel client → Marketing tools: references service
lib/HighLevel.ts - HighLevel client → Ad manager: references service
lib/HighLevel.ts - HighLevel client → SaaS API: references service
lib/HighLevel.ts - HighLevel client → Other API domains: references endpoint modules
lib/HighLevel.ts - Contacts → Token provider: imports and uses
lib/code/contacts/contacts.ts - Conversations → Token provider: imports and uses
lib/code/conversations/conversations.ts - Calendars → Token provider: imports and uses
lib/code/calendars/calendars.ts - Invoices → Token provider: imports and uses
lib/code/invoices/invoices.ts - Payments → Token provider: imports and uses
lib/code/payments/payments.ts - Products → Token provider: imports and uses
lib/code/products/products.ts - Marketing tools → Token provider: imports and uses
lib/code/social-media-posting/social-media-posting.ts - Ad manager → Token provider: gets auth token
lib/code/ad-manager/ad-manager.ts - SaaS API → Token provider: imports and uses
lib/code/saas-api/saas-api.ts - OAuth service → Token provider: imports and uses
lib/code/oauth/oauth.ts - HighLevel client → Session storage contract: configures token storage
- Memory sessions → Session storage contract: extends contract
lib/storage/memory-session-storage.ts - MongoDB sessions → Session storage contract: extends contract
lib/storage/mongodb-session-storage.ts - Webhook manager → Session storage contract: reads access token
lib/webhook/webhook-manager.ts - HighLevel client → Rate-limit handling: parses retry headers
lib/HighLevel.ts - HighLevel client → Error handling: creates API errors
lib/HighLevel.ts - HighLevel client → HighLevel API: sends API requests