Join our Newsletter — 33% off our NHI Course
Architecture & Implementation

HTTP API

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Architecture & Implementation

An HTTP API is a way for software systems to exchange requests and responses over the web using the HTTP protocol. It exposes endpoints that accept methods such as GET, POST, PUT, and DELETE, and returns structured data, often JSON, for application integration, automation, and machine-to-machine communication.

What HTTP APIs Are for in modern software

An HTTP API is the integration surface that lets applications exchange structured data over the web. Its practical value is not the protocol itself, but the contract it creates: endpoints, methods, status codes, and payloads that other systems can rely on for automation, orchestration, and machine-to-machine exchange.

How HTTP APIs are structured and consumed

Most HTTP APIs expose a small set of predictable building blocks, including resources identified by URLs, request methods such as GET and POST, headers, query parameters, and response bodies. That consistency is what makes them easy to consume across programming languages, but it also means clients often depend on the API behaving exactly as documented.

Because HTTP APIs are usually stateless at the transport layer, each request must carry enough context to be understood on its own. That design supports scale and loose coupling, but it also pushes more responsibility into authentication, authorization, input handling, and server-side validation.

Security implications of HTTP APIs

HTTP APIs expand the attack surface because they are meant to be reachable by software clients, not just browsers or humans. When an API exposes sensitive functions or data, weaknesses in authentication, access control, object selection, or request validation can turn a normal integration point into a direct path to unauthorized access.

APIs are also frequently embedded in automation and service-to-service workflows, which means failures can spread quickly. A single exposed endpoint, overly broad token, or unsafe assumption about client trust can affect many downstream systems at once, especially when the API is used for administrative or high-volume operations.

OWASP API Security Top 10 is a useful reference because it focuses on the API-specific failure modes that most often matter in practice, including broken authorisation and resource consumption issues.

Common design and operational trade-offs

HTTP APIs are often designed to balance usability, performance, and control. Making an API easy to integrate usually means exposing clear resource models and stable schemas, but those same design choices can increase exposure if the API returns too much data, allows broad query patterns, or accepts actions that are not tightly constrained.

Versioning, pagination, idempotency, and error handling also matter operationally. If these are inconsistent, consumers build fragile integrations, retries can create duplicate side effects, and debugging becomes harder because the visible HTTP exchange no longer tells the full story of what the backend actually did.

Why HTTP APIs need explicit governance

HTTP APIs are not just implementation details, they are governed interfaces with owners, consumers, and business impact. Teams need to know which endpoints are public, which are internal, which data objects are exposed, and which services are allowed to call them, otherwise the API estate tends to grow faster than the organisation’s understanding of it.

That governance question becomes especially important when APIs are used for sensitive workflows, because the security of the whole service often depends on consistent enforcement at the API layer rather than on the client that is calling it. Good API governance therefore treats documentation, inventory, access policy, and monitoring as part of the same control surface.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP API Security Top 10API1 — Broken Object Level AuthorizationHTTP APIs often fail on object-level access checks.
API2 — Broken AuthenticationAPI endpoints depend on reliable client authentication.
API5 — Broken Function Level AuthorizationHTTP APIs expose callable actions that require function-level access control.
Recommendation — Enforce per-object authorisation on every API request. Validate API authentication flows and reject weak token handling. Restrict privileged API methods to the minimum authorised callers.
NIST SP 800-53 Rev 5AC-3 — Access EnforcementAPI access depends on enforcing permissions at request time.
IA-5 — Authenticator ManagementAPI clients rely on secrets, tokens, or keys that need lifecycle control.
Recommendation — Apply AC-3 to enforce authorisation checks on every API route and action. Use IA-5 to manage API credentials, rotation, storage, and revocation.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org