Local GTMLocal GTM
PricingFAQProcessBlogChangelogContactDocs
Login
Local GTMLocal GTM

© 2026 Local GTM. All rights reserved.

BlogFeaturesPricing
Privacy policyTerms of service

1603 Capitol Ave

Cheyenne, Wyoming 82001-4562 US

[email protected]1 904-871-8667
Documentation
Documentation
Documentation

Documentation

Local GTM API

The Local GTM API lets you connect your own tools, CRMs, and workflows directly to your account. You can read opportunities, pull analytics, list replies, create campaigns, and receive real-time lead notifications via webhooks.

What you can do

  • Opportunities - list, create, update, and bulk update your pipeline
  • Campaigns - list campaigns with status and lead counts, or create new ones
  • Analytics - pull summary stats and per-campaign performance data
  • Pipeline - get opportunity counts and value broken down by stage
  • Replies - list incoming replies with classifications
  • Webhooks - register a URL to receive a lead.created event every time a new lead is added to your account
  • Categories - list all available client and partner categories

Interactive API reference

The full API reference is available at the link below. Every endpoint is documented with request parameters, response shapes, and examples you can run directly in your browser.

View API Reference

Getting an API key

  1. Go to Settings in your dashboard
  2. Click API Keys
  3. Click Create API key - choose read-only or read-write access
  4. Copy the key immediately - it is only shown once

All API requests require the key in the Authorization header:

Authorization: Bearer lgm_live_...

Rate limits

  • 10 requests per minute per API key
  • 100 requests per minute across all keys globally

When you hit the limit you will receive a 429 response with a Retry-After header.

Webhooks

Register a webhook URL and LocalGTM will send a signed POST request every time a new lead is created in your account. Verify the signature using the X-LocalGTM-Signature header (HMAC-SHA256).

Using with Claude Code or other AI tools

The API is compatible with any MCP client. If you use Claude Code or a similar AI assistant, you can point it at your API key and let it query your pipeline, update opportunities, and pull analytics directly from a conversation.

Support

If you have questions or need help building an integration, reach out to us at [email protected].

On this page

Local GTM APIWhat you can doInteractive API referenceGetting an API keyRate limitsWebhooksUsing with Claude Code or other AI toolsSupport