An API is the contract between your product and the rest of the world. If you don't understand that contract, you don't understand your product.
APIs are the invisible glue that connects modern products. They enable your product to talk to other software, exchange data, and deliver value beyond what you build yourself. Yet, many PMs treat APIs as a technical black box — a mysterious backend detail that engineers handle. That is the entire profession in one line: if you cannot explain your product’s API strategy clearly, you are not ready to ship a connected product.
The stakes are high. In India’s startup ecosystem, where integrations with payment gateways, logistics partners, and enterprise systems are common, APIs shape your product’s reliability, scalability, and user experience. Misunderstanding APIs leads to missed opportunities, failed launches, and costly rework.
Why PMs must understand APIs
Your actual job as a PM is to deliver value to users — not to write code. But that value often depends on APIs. For example:
-
Razorpay’s payment gateway API powers thousands of merchants across India. A PM who understands how that API works can design better payment flows, anticipate failure modes, and negotiate with engineering and partners more effectively.
-
Swiggy integrates with multiple restaurant POS systems through APIs. The PM must know the limits of those APIs to set realistic expectations about menu updates and order tracking.
-
Meesho’s platform relies on APIs to connect resellers with suppliers and logistics. The product roadmap depends on API reliability and partner onboarding speed.
If you treat APIs as “tech stuff,” you lose control over your product’s core value delivery. Your job is to “own the contract” — to understand what your APIs expose, what they guarantee, and how they fail.
What is an API, really?
API stands for Application Programming Interface. At its simplest, an API is a set of rules that lets two software systems communicate.
Imagine you are at a restaurant. The menu is the API — it tells you what you can order. The waiter is the messenger who takes your order to the kitchen and brings back the food. You (the user) do not need to know how the kitchen works internally, only what you can ask for and what you will get.
Similarly, an API defines:
- What requests you can make (e.g., “Get me the current weather for Mumbai”)
- What data you need to send (e.g., city name, API key)
- What response you will receive (e.g., temperature, humidity)
- How errors are communicated (e.g., “City not found”)
The API is a contract. If either side breaks the contract — sends unexpected data, returns errors — the integration fails.
Types of APIs in practice
APIs come in many flavors. The most important distinction for PMs is who can use the API and for what purpose.
| API Type | Description | Indian Context Example |
|---|---|---|
| Public API | Open to any developer or third party. Enables ecosystem growth and integrations. | Razorpay’s payment API available to all merchants |
| Private/Internal API | Used only within your company. Powers internal systems and microservices. | Flipkart’s internal inventory management API |
| Partner API | Shared selectively with trusted partners under agreements. Enables strategic integrations. | Swiggy’s API for select restaurant POS systems |
| Composite API | Combines multiple APIs into one call for efficiency. | Meesho’s order API aggregating supplier and logistics data |
Understanding these distinctions helps you decide how open or restricted your product’s APIs should be. Public APIs can drive platform growth but require strict security and versioning. Private APIs allow faster iteration but limit ecosystem benefits.
Common API protocols and formats
The internet has standardized how APIs communicate. The main protocols you will encounter are:
-
REST (Representational State Transfer): The most common style today. Uses HTTP verbs (GET, POST, PUT, DELETE) and JSON or XML data formats. Easy to understand and widely supported.
-
SOAP (Simple Object Access Protocol): An older, more rigid standard using XML and strict contracts. Still used in many enterprise Indian companies, especially in banking and insurance.
-
XML-RPC / JSON-RPC: Remote procedure calls using XML or JSON. Less common but seen in legacy systems.
Knowing these protocols is not about memorizing specs. It is about understanding what your engineers mean when they say “this API is RESTful” or “we have to support a SOAP endpoint for the bank integration.”
What does an API contract look like?
The contract includes:
-
Endpoints: URLs where requests are sent. For example,
https://api.example.com/v1/payments. -
Methods: HTTP verbs like GET (read), POST (create), PUT (update), DELETE (remove).
-
Headers: Metadata like authentication tokens (
Authorization: Bearer <token>), content type (application/json). -
Request body: Data sent with POST/PUT requests in JSON or XML.
-
Response: Data returned, usually JSON with fields like
status,data,error. -
Error codes: HTTP status codes (200 OK, 404 Not Found, 500 Server Error) and custom error messages.
Your engineers will share API documentation. As a PM, you must be able to read and interpret it. If you cannot, you will struggle to:
- Estimate engineering effort for integrations
- Identify failure points and design fallback flows
- Communicate clearly with customers and partners
APIs and product strategy: when to build vs when to buy
APIs are not just technical plumbing. They are a strategic choice.
If you are building a fintech product, do you build your own payment gateway or integrate Razorpay’s API? Most startups choose the latter to reduce time-to-market and leverage Razorpay’s compliance and scale.
If you run a marketplace, do you build your own logistics API or partner with Delhivery’s API? Usually, the partner API is more practical.
But sometimes, owning the API is a competitive advantage. Flipkart’s internal APIs for inventory and pricing enable real-time dynamic pricing and stock updates that third-party APIs cannot match.
Your job as a PM is to evaluate:
-
Core competency: Is the API functionality central to your product’s value? If yes, build your own.
-
Time to market: Does integrating an existing API accelerate launch?
-
Cost: What are the licensing or transaction costs?
-
Reliability: Can you trust the partner’s API uptime and data quality?
-
Control: How much control do you need over features and data?
Making these decisions early saves months of wasted effort.
API failure modes and how to plan for them
APIs break. Networks fail. Partners change their contracts. Your product must be resilient.
Common failure modes include:
-
Latency: Slow API responses degrade user experience.
-
Rate limits: APIs restrict how many calls you can make per minute/hour.
-
Data inconsistencies: Partner APIs may return stale or incorrect data.
-
Authentication errors: Expired tokens or misconfigurations block access.
-
Versioning issues: API updates break your integration.
As a PM, you must:
-
Define SLAs (Service Level Agreements) with partners or internal teams.
-
Design fallbacks — cached data, error messages, retry logic.
-
Prioritize API monitoring and alerts.
-
Communicate transparently with users when issues arise.
Razorpay’s PMs, for example, build retries and fallbacks into their payment flows because network failures are a fact of life in India’s varied connectivity landscape.
How APIs shape user experience
APIs may be invisible, but their impact is not.
A payment API failure can cause user frustration and lost revenue. A slow API response in a ride-hailing app delays driver matching. An unreliable API for address validation causes delivery failures.
Understanding the API surface helps you:
-
Set realistic expectations for performance.
-
Design loading states and error messages that reduce user frustration.
-
Prioritize engineering fixes in the right order.
-
Negotiate with partners for better SLAs.
The API economy: beyond your product
APIs unlock ecosystem plays. Your product can become a platform.
Flipkart’s APIs power seller dashboards, inventory sync, and logistics partners, creating a network effect that locks in sellers and buyers.
Postman, an Indian SaaS company, built its entire business around APIs by helping developers design, test, and monitor APIs. Their product is an API-first tool for APIs.
As a PM, you must think beyond your app’s UI and consider how APIs can:
-
Enable third-party developers to build on your platform.
-
Create new revenue streams via API monetization.
-
Increase stickiness and reduce churn through integrations.
API security and compliance basics
APIs expose your product’s data and functionality. Security is critical.
Common API security practices include:
-
Authentication: Verifying the caller’s identity (API keys, OAuth tokens).
-
Authorization: Controlling what data or actions the caller can access.
-
Encryption: Using HTTPS to protect data in transit.
-
Rate limiting: Preventing abuse by limiting calls.
-
Audit logging: Tracking who accessed what and when.
Many Indian companies face compliance requirements (e.g., RBI guidelines for fintech APIs, GDPR-like data protection laws). PMs must collaborate with legal and engineering to ensure APIs meet these standards.
How to learn APIs as a PM
You do not have to be an engineer to understand APIs. Here are practical steps:
-
Read your engineering team’s API documentation carefully.
-
Use tools like Postman or curl to make sample API calls.
-
Attend API design and integration meetings.
-
Learn basic JSON and HTTP concepts.
-
Understand the business logic behind each API endpoint.
-
Study failure cases and how your product recovers.
-
Talk to support and customer success teams about common API-related issues.
This knowledge will transform how you prioritize work, communicate with stakeholders, and design your product roadmap.
Summary: The API mindset for PMs
The actual job is to own the contract between your product and the ecosystem. APIs are not just technical details — they are strategic levers for growth, reliability, and user experience.
Most PMs confuse APIs with “tech stuff.” The trap is treating APIs as invisible plumbing rather than as the product’s connective tissue.
What I tell PMs is: if you cannot explain your product’s API strategy, you are not ready to lead it.
Test yourself: The API integration dilemma
You are the PM at a Series A Indian SaaS startup building a B2B invoicing product. Your engineering team proposes building a custom integration with a popular ERP system used by 30% of your target customers. The integration will take 3 months and require two engineers full-time. Meanwhile, a third-party vendor offers an API-based connector that you can license for ₹10 lakhs per year and implement in 3 weeks.
The call: Do you approve building the custom integration or license the third-party connector? How do you justify your decision to the CTO and CEO?
Your reasoning:
Where to go next
- If you want to master API-driven product design: Building Connected Products
- If you need to improve your technical fluency: Technology Fundamentals for PMs
- If you want to learn how to work with engineering teams: Effective Engineering Collaboration
- If you want to understand SaaS product architecture: SaaS Product Management
- If you want to prepare for API-related interview questions: Technical PM Interview Prep