Interview glossary / Technical rounds

API design

Also called: API design interview · REST API design

Designing the interface other software uses to talk to a service: endpoints, inputs and outputs, errors, versioning, pagination and security.

API design questions appear in backend, full-stack and system design interviews. Interviewers look for consistent naming, correct use of HTTP methods and status codes, idempotent writes where retries happen, pagination for lists and a plan for changes without breaking clients.

In an interview

Start from the client's use cases, define the resources and a few key endpoints with example requests and responses, then cover errors, auth and how the API evolves.

Related terms

· All terms ·