Design resource-oriented JSON APIs with stable schemas, status codes, pagination, filtering, idempotency, and versioning. Produce useful error responses and verify behavior with contract and integration tests.