Kabir Arora Book 30 min ↗
Kabir Arora/Writing/APIs, webhooks and code

Learn enough code to stop waiting on someone else

A GTM engineer doesn't need to be a software engineer. They need to read API docs, handle a webhook properly, and check what an agent built.

APIs, webhooks and code 3 min read Nov 2026 All writing

Most GTM tools are a screen on top of an API. When I need something the screen doesn't do, I go to the API. Before I worked in GTM full time I was a developer at Intently, building AI agents for go-to-market, and that habit stuck: treat every tool as something a program can call.

Five things I check in any API

Before I write a line, I read the docs for:

  • Auth. An API key in a header, a bearer token, or OAuth with tokens that expire.
  • Pagination. Loop until there's no next page. Plenty of "missing data" is really page one only.
  • Rate limits. When the API says slow down, wait and retry with growing gaps: one second, two, four, eight.
  • Idempotency. Running the same request twice must not create two records. I upsert on the domain or the LinkedIn URL.
  • Async jobs. Big jobs return an ID. You poll for the result or get a webhook when it's done.

These five cover most of the bugs I've seen in GTM scripts.

Webhooks are APIs in reverse

A webhook is another system calling you when something happens: a reply arrives, a form is submitted, a signal fires. A good receiver does five things:

  1. It checks the request is genuine, usually with a signed header.
  2. It answers within seconds and does the heavy work later.
  3. It ignores duplicates, because providers retry.
  4. It logs the raw payload, so you can replay it.
  5. It never drops an event silently.

Our engine receives a signed webhook from our LinkedIn sending tool for every reply and status change. Everything else in it runs through one operations API, so the app, the scheduled jobs and the agents all act the same way and leave the same log.

Python and TypeScript, for different jobs

Python is where I do one-off list work: pull from an API, filter, enrich, write a file. Our list-building scripts are Python. TypeScript is where things run in production: our engine's app, its edge functions and its scheduled jobs. SQL sits under both.

I don't think a GTM engineer needs all three on day one. They do need to be able to read all three.

The real skill now is review

Claude Code can build a workflow in minutes. That moves the valuable part of the job to four things: specifying the workflow precisely, finding what's wrong in what was built, knowing what it costs and where it breaks, and explaining it to the people who'll use it.

I spend more time reviewing agent-written code than writing code from scratch. I don't expect that part of the job to be automated soon.

Hiring a GTM engineer? Tell me what's breaking.

Kabir Arora · Lastmile GTM ↗Updated 24 Nov 2026