Skip to main content
gtm-api runs LinkedIn accounts as managed infrastructure. Each account you connect gets its own anti-detect cloud browser and dedicated proxy, and everything an account can do (search, connect, message, enrich, post) is exposed twice from one schema: as typed REST endpoints, and as MCP tools an AI agent can call. Server-side limits, warm-up and pacing run under every call, whichever surface it arrives on.

The API surface

Three services, one contract style. Every endpoint authenticates the same way, returns the same response envelope, and fails with the same error taxonomy. Paths in the reference are relative to these base URLs. GET /api/linkedin-accounts/{sid} means https://app.gtm-api.com/linkedin/v4/api/linkedin-accounts/{sid}.

Start here

Quickstart

Mint an API key and make your first call in a few minutes.

Authentication

API keys, JWTs and the Team-SID header.

API reference

Every endpoint of the three services, with an interactive playground.

MCP server

Give Claude, Cursor or ChatGPT the same tools over the Model Context Protocol.

How the contract behaves

  • Every success body is an envelope: success: true, one typed operation shape (search, get, create, update, delete, metrics, action), and a meta block with a trace_id you can quote to support.
  • Every failure is one McpError envelope with a code from a fixed 16-code taxonomy, so you map errors once and reuse the mapping everywhere. See Envelopes and errors.
  • Lists page with page_size plus an opaque forward cursor, and filters are typed per field. See Pagination and filtering.
  • Endpoints marked deprecated in the reference are 501 stubs: the request contract is final and validated, but the capability has not shipped yet. Build against them, do not ship against them. The reason is in each operation’s description.

Where the reference comes from

The reference is generated from the same registry that defines the MCP tools, one endpoint per tool. It is not written by hand, so what the playground shows is what the server actually validates.