Development

REST API

A common style of API that uses standard web addresses and requests to read and change data.

By Nick Irmo · Updated

What REST API means

REST is the most widespread way systems share data on the web, and most business tools offer one. It is simple to work with and well supported. It is the default choice for many integrations.

Why it matters for your website

REST APIs let your website talk to other tools, like your CRM, booking system or ecommerce platform. That means leads, orders and content can flow between systems without manual copying. They also power headless sites, where your CMS sends content to a separate front end.

Example

A home builder's website form sends new leads to its CRM through a REST API. The sales team sees each lead within seconds instead of waiting for someone to forward emails.

Tips

  • Use API keys or tokens with the least permissions needed.
  • Keep API keys on the server, never in public front-end code.
  • Log API errors so you know when an integration stops working.

Common mistakes

  • Exposing private data through API endpoints that don't require authentication.
  • Building integrations with no alert when the connection fails.

Questions about REST API

What is REST API?
A common style of API that uses standard web addresses and requests to read and change data.
Does WordPress have a REST API?
Yes. WordPress includes a built-in REST API that lets other apps read and update content. It's what many headless WordPress sites and plugins use.
What is the difference between REST and GraphQL?
REST uses separate addresses for different data. GraphQL uses one endpoint where you ask for exactly the fields you want. Both are common for websites and apps.

Tell us what the site needs to do.

Share a few details and a budget range. We reply within one business day with a plan, a platform recommendation and a fixed quote.