Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
  1. Home
  2. Blog
  3. The Plumbing That Makes AI Integration Possible
AI Integration

The Plumbing That Makes AI Integration Possible

APIs and webhooks explained plainly for AI integration: four questions to ask every vendor, rate limits, and what to do when software has no API.

Updated 2 min readBy SpiderHunts Technologies

Free estimateNo obligation

Get a free estimate

Tell us what you need. A senior engineer reads every enquiry.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →

Quick answer — TL;DR

An API lets software ask another system for data or tell it to do something. A webhook lets a system tell you when something happened. Whether your software has both determines what an integration costs.

What each one is, plainly

  • API: a documented way for one program to ask another for data or to make a change
  • Webhook: a message your system sends the moment something happens, so nothing has to poll
  • Polling: asking repeatedly “anything new?” — the fallback when there are no webhooks

Webhooks are better than polling: faster, cheaper and less likely to hit rate limits.

Four questions for every vendor

  1. Do you provide a documented API for reading and writing this data?
  2. Do you support webhooks, and for which events?
  3. What are the rate limits?
  4. Does API access cost extra, or require a higher plan?
Ask in writing before anyone quotes the project. The fourth question in particular has ended more integration plans than any technical constraint.

When there is no API

OptionReliabilityCost
Supported file importGoodLow
Direct database access, if you control itGoodMedium
Vendor-supported integration platformGoodMedium
Browser automation of the interfacePoorHigh to maintain

Browser automation works and it breaks whenever the vendor changes their interface. Use it only as a last resort and budget for the maintenance.

Building it to survive

  • Retry with backoff, because transient failures are the normal case
  • Idempotency, so a retry cannot create a duplicate
  • A durable queue, so nothing is lost during an outage
  • Logging of every call and response, with a retention period
  • Alerts on repeated failure, routed to someone who can act

Rate limits are a design constraint

A limit of a few hundred calls a minute shapes how you batch work and how quickly you can backfill history. Find the number before designing, not during testing.

It is also why the initial data load is often the hardest part of an integration to schedule.

FAQ

Frequently asked questions

The questions readers ask us after this guide.

Still have a question?

Ask us directly — a senior engineer will get back to you.

Ask about your project

Do we need to understand this ourselves?

Not in detail. Asking the four vendor questions and getting written answers is the part that matters, and anyone can do that.

What if the API is badly documented?

It adds time, sometimes considerably. We would rather find that in scoping than in week four, which is why we test access early.

Is direct database access safe?

For reading, often. For writing, rarely — it bypasses the application's own validation and it is where data gets corrupted quietly.

Who owns the API credentials?

You do, in your accounts, with our access granted separately so it can be revoked without affecting anything else.

Keep reading

More on AI Integration

Start here

Not sure whether your systems can connect?

Send us the names of the products and we will find out. It usually takes an afternoon.

  1. You tell us what you needTwo minutes on the form, or a message on WhatsApp.
  2. A senior engineer reviews itAnd comes back with questions, a realistic range and an honest view on fit.
  3. Free 30-minute scoping callWe talk through scope, options and a realistic estimate — with no obligation.
Free estimateNo obligation

Talk to someone who builds this

Send a short brief and we will come back with an honest view and a realistic range.

Takes under a minute. We never share your details.

  • Free consultation
  • No commitment
  • NDA on request

Prefer to talk? Book a free 30-minute call →