🖥️API
Get your API credentials, connect AI assistants like Claude and ChatGPT, and find the full developer documentation for the Gleantap API.
Gleantap has a REST API for building integrations with your account. Use it to read contacts, events, and campaign results, or to push in contacts, events, and messages. It also powers AI assistants like Claude and ChatGPT through the Gleantap MCP server.
The full developer documentation is at developers.gleantap.com. This page covers what most people need: where to find your credentials and where to go next.
Find your API credentials
Step 1. Open Gleantap and click Settings in the top-right menu, then open the API tab.

Step 2. Your credentials are listed in a table. If the table is empty, click Generate New Key.

The table has two values:
API Key
Your account ID
v2 API only (X-API-KEY header)
API Secret
Your secret credential
v3 API (Authorization: Bearer <API Secret>), MCP connections that use a key, and v2 (X-SECRET-KEY header)
You can generate more than one secret, for example one per integration, so you can revoke one without breaking the others. Delete any you no longer use.
Use the API (v3)
All new integrations should use the v3 API:
Full details, including OAuth for third-party apps, are in Authentication and the API Reference on the developer site.
Connect an AI assistant (MCP)
You can connect Claude, ChatGPT, Cursor, and other AI tools to Gleantap so they can look up contacts, build segments, draft templates, and report on campaigns for you. In most tools you add this URL and sign in to Gleantap. No API secret is needed:
See Use Gleantap with AI Assistants for step-by-step setup in Claude and ChatGPT. For other tools, or to connect with your API Secret instead of signing in, see the developer guide Connect AI Tools (MCP).
Older integrations (v2)
The v2 API (https://api.gleantap.com/v2/ExternalApi) is deprecated but still works. It uses three values on every request:
X-API-KEY header
API Key from Settings → API
X-SECRET-KEY header
API Secret from Settings → API
app_id in the request body
Your workroom ID: the 24-character ID at the end of your dashboard URL, for example 6993672aca1046edb9094d75 in https://app2new.gleantap.com/apps/newDashboard/6993672aca1046edb9094d75
v2 is limited to 1,000 calls per rolling 24 hours and returns 429 above that. The v2 reference is at developers.gleantap.com/v2. If you maintain a v2 integration, plan to move it to v3.
Support
For API help, integration questions, or higher rate limits, email support@gleantap.com.
Last updated
Was this helpful?