Websites and Tech

REST API

Also called RESTful API

The common integration style where data is exposed as addressable resources read and changed with standard web requests.

Quick facts: REST API

Category
Websites and Tech
Also called
RESTful API
Level
Intermediate
Affects
Integration cost, reporting reliability, data portability
Where to see it
Postman, Zapier, Make, platform developer documentation
In this article4
  1. How a REST API works
  2. Why REST APIs matter
  3. Where REST APIs go wrong
  4. How to act on it

How a REST API works

REST is a convention rather than a product. It says: treat every piece of data as a resource with its own web address, and act on it with the ordinary verbs the web already has. A GET request reads a resource, POST creates one, PUT or PATCH updates it, DELETE removes it. Ask for a customer record and you get that customer; ask for the collection and you get a list.

Each request stands alone. The server keeps no memory of your last call, so every request carries its own credential and its own parameters. Responses come back as JSON with an HTTP status code attached — a success code, a refusal because the credential was wrong or the caller lacked permission, a not-found for a resource that does not exist. Those codes are the fastest way to diagnose a broken integration.

Why REST APIs matter

Because so many platforms follow the same convention, connecting them is a known job rather than a research project. Google Ads, Meta, Shopify, WooCommerce, Mailchimp and WordPress all expose REST-style interfaces, and a developer who has used one can find their way around another quickly. That keeps integration quotes sane.

It also means the tools in the middle can be generic. Zapier and Make work with almost anything precisely because most services speak this way, so a small business can join systems together without commissioning custom code for each pair.

Where REST APIs go wrong

The commonest failure is authentication, not logic. Tokens expire, permissions get removed when a staff member leaves, and a key created for testing quietly lacks the scope the live job needs. Read the status code before rewriting anything: a refusal is a credentials problem and a not-found is an address problem, and they need opposite fixes.

The second is pagination. A collection endpoint returns one page of results, not everything, so a report built without following the next-page link silently shows a fraction of the data and nobody notices because it still looks plausible. The third is calling too often and hitting a rate limit, which usually surfaces as intermittent gaps rather than a clean error.

How to act on it

Read the platform’s documentation before scoping the work, because it tells you what is genuinely available. Plenty of integrations are abandoned halfway when the field somebody assumed exists turns out not to be exposed at all.

Insist on logging every request and response, handling paginated results properly, and retrying a failed call rather than dropping it. Give each integration its own credential with only the permissions it needs, so one leaked key does not open everything. If you are joining a website to another business system, treat it as custom development work with testing time in the estimate, and be clear on how it differs from an event-driven webhook before choosing between them.

Do and do not

Do

  • Read the status code before debugging your own logic
  • Follow pagination links so reports capture everything
  • Give each integration its own narrowly scoped credential

Do not

  • Assume a field exists before checking the documentation
  • Drop a failed call instead of retrying it
  • Reuse one all-powerful key across every integration

Questions people ask about this

What makes an API RESTful?

Data is exposed as resources with their own web addresses, acted on with the standard request methods, and every call carries everything the server needs rather than relying on a remembered session. Responses are usually JSON with a status code. Many APIs described as RESTful follow the convention loosely, which is normal and rarely a problem.

Is a REST API secure enough for customer data?

It can be, provided the connection uses HTTPS, each integration has its own credential with the narrowest permissions that work, and keys are stored in the system rather than in documents or page source. The convention itself adds no security; the transport, the credential handling and the permission scope do the work.

Why does my report only show part of the data?

Almost certainly pagination. A collection request returns one page and a pointer to the next, and code that stops after the first page produces a plausible but incomplete result. Check whether the integration follows the next-page link, and whether it is quietly hitting a rate limit partway through the run.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.