Skip to Content
API

Sync GTM REST API

The REST API puts Sync GTM’s waterfall enrichment behind a plain HTTPS endpoint, so your own backend, CRM sync or data pipeline can look up contact data without a table and without an AI client.

It exposes four of the MCP tools as endpoints — find_work_email, find_personal_email, find_mobile_number and verify_email — with the same inputs, providers and credit prices, billed to the same organization balance. The difference is who is calling: the MCP server is for an assistant you talk to, the API is for code you write.

Base URL
https://api.syncgtm.com/v1/api
Authentication
Bearer API key (sgtm_live_…)
Format
JSON in, JSON out
Rate limit
60 requests per minute per key

Quickstart

Create an API key

In the app, open Settings → API keys and click Create key. Only organization owners and admins can create keys. Copy the key when it is shown — it is displayed once and cannot be retrieved again. See Authentication.

Make your first call

curl https://api.syncgtm.com/v1/api/enrich/work-email \ -H "Authorization: Bearer $SYNCGTM_API_KEY" \ -H "Content-Type: application/json" \ -d '{"linkedin_url": "https://www.linkedin.com/in/janedoe"}'

Read the response

{ "status": "found", "data": { "email": "jane@stripe.com" } }

A miss is still a 200, with "status": "not_found" and "data": null — and it costs nothing.


Endpoints

Every endpoint is a POST with a JSON body. Full request and response details are on each page.

EndpointCostWhat it does
POST /enrich/work-email1 credit per email foundLinkedIn URL, or name + company domain → work email
POST /enrich/personal-email3 credits per email foundLinkedIn URL → personal mailbox address
POST /enrich/mobile10 credits per number foundLinkedIn URL → mobile phone number
POST /enrich/verify-email0.2 credits per emailEmail → Verified or Unverified

See the endpoint reference for the shared request and response shapes.


Common use cases

The API fits anything that runs without a person at the keyboard, and more and more that means an agent. An agent running on a server, a schedule or a webhook has no one to complete a browser sign-in, so it calls these endpoints with a key instead of going through the MCP server.

Give your own agent enrichment tools

Wrap the endpoints as tools in the agent you are building, whether that is on the Claude or OpenAI SDKs, LangGraph or a loop of your own. The model decides when to look someone up; your code makes the HTTP call, so the key never enters the prompt.

import hashlib import json import os import requests API = "https://api.syncgtm.com/v1/api/enrich" TOOLS = [ { "name": "find_work_email", "description": ( "Find a person's current work email. Costs 1 credit if found, free if not. " "Pass linkedin_url, or first_name + last_name + domain. " "not_found is final for the same inputs, so do not retry it." ), "input_schema": { "type": "object", "properties": { "linkedin_url": {"type": "string"}, "first_name": {"type": "string"}, "last_name": {"type": "string"}, "domain": {"type": "string", "description": "Company domain, e.g. stripe.com"}, }, }, }, { "name": "verify_email", "description": "Check whether an email is safe to send to. Costs 0.2 credits. Call it before any send.", "input_schema": { "type": "object", "properties": {"email": {"type": "string"}}, "required": ["email"], }, }, ] PATHS = {"find_work_email": "work-email", "verify_email": "verify-email"} def run_tool(name: str, args: dict, record_id: str) -> dict: # Same record + tool + inputs -> same key, so a repeated call replays instead of charging twice digest = hashlib.sha256(json.dumps(args, sort_keys=True).encode()).hexdigest()[:16] res = requests.post( f"{API}/{PATHS[name]}", headers={ "Authorization": f"Bearer {os.environ['SYNCGTM_API_KEY']}", "Idempotency-Key": f"{record_id}-{name}-{digest}", }, json=args, timeout=90, ) return res.json() # errors come back as { error: { code, message } } for the model to act on

The tools follow Anthropic’s format. OpenAI and most agent frameworks take the same JSON Schema under parameters. Add find_personal_email and find_mobile_number the same way; their inputs are on the endpoint pages.

Inbound lead agent

Trigger: a signup or demo-request webhook.

  1. verify-email the address the lead typed in. If it comes back Unverified, flag the lead instead of routing it. (0.2 credits)
  2. If they used a free mailbox like Gmail and gave a name and company, call work-email with first_name, last_name and domain to get the address your CRM should own. (1 credit if found)
  3. The agent checks the lead against your ICP, writes it to the CRM and assigns an owner before a rep has opened their inbox.

Outbound research agent

Trigger: a new target-account list, or a daily batch.

  1. The agent picks the people worth contacting at each account, from your CRM, a list you uploaded or another data source.
  2. work-email for each person, by LinkedIn URL where you have one. (1 credit per email found)
  3. verify-email every address before it reaches your sequencer. (0.2 credits)
  4. The agent writes an opening line from what it researched and hands the contact to your sending tool.

Misses are free, so the agent can work through a whole list and pay only for the emails it finds.

Call-ready escalation

Trigger: a high-intent signal, such as a pricing-page visit, a reply or a missed meeting.

Mobile numbers are the most expensive lookup at 10 credits, which makes them the place an agent’s judgment pays for itself. Let the agent score the signal, call mobile only for leads that clear the bar, and push the number to the rep’s dialer or task list.

CRM hygiene agent

Trigger: a nightly or weekly schedule.

  1. Pull contacts whose email bounced or has not been checked in 90 days.
  2. verify-email each one. (0.2 credits)
  3. For Unverified addresses, call work-email with the contact’s LinkedIn URL to find where they work now. (1 credit if found)
  4. A new address on a different domain usually means a job change. Update the record and flag the account owner. To stay in touch with a champion who moved on, personal-email returns an address that survives the next job change too. (3 credits if found)

Rules for agents that call the API

  • Put prices in tool descriptions. A model that knows verification costs 0.2 credits and a mobile number costs 10 will reach for the cheap call first.
  • Treat not_found as an answer. It is free, and the same inputs will return it again. Tell the model not to retry it.
  • Send an Idempotency-Key on every call. Agents repeat themselves. A repeated key and body within 24 hours replays the first response at no charge. See Rate limits and retries.
  • Pace parallel tool calls. A key allows 60 requests a minute, and an agent fanning out over a list hits that fast. Queue calls per key.
  • Stop on 402. insufficient_credits means the balance is spent. Have the agent stop and report back instead of retrying.
  • Verify before anything sends. Run verify-email on any address an agent is about to hand to a sequencer, whatever its source.

How billing and responses work

  • Waterfall enrichment. Each lookup tries several data providers in sequence and stops at the first one that answers. You are charged once per lookup, never once per provider tried.
  • You pay for answers, not attempts. A not_found result is free. A request that times out or fails on our side is refunded.
  • Stable response bodies. Success is always { status, data }; failure is always { error: { code, message } }. Provider names are never part of the response. See Errors.
  • Safe retries. Send an Idempotency-Key header and a retried request replays the first response for 24 hours instead of charging again. See Rate limits and retries.
  • One balance. API calls draw on your organization’s credits, the same pool the app and the MCP server use. Check it on the usage and billing page.

API or MCP?

Use theWhen
REST APIA program or an unattended agent is making the call — a nightly CRM sync, a signup webhook, a script over a CSV, an agent on a schedule. You want fixed JSON and HTTP status codes.
MCP serverA person is asking — in Claude, ChatGPT or Cursor. You want 50+ tools, chained by the assistant, with browser sign-in and no key to store.

The API covers the four highest-volume contact lookups today. Everything else — company enrichment, people search, signals — is available through the MCP server and in tables.


Support

Include the endpoint, the HTTP status and the error.code when you report a problem — never the full API key.