SlideShare a Scribd company logo
All rights reserved by Postman Inc
Designing APIs that
stand the test of Time
Pooja Mistry
Developer Advocate
@poojamakes
INTERFACE by apidays 2023 - Designing APIs That Stand the Test of Time, Pooja Mistry, Postman
Hi, I’m Pooja!
@poojamakes
Developer Advocate, Postman
Postman is an API platform for building and using APIs. It
is used by 25 million + people world wide 🌏🌎🌍
For many teams, Postman is an everyday tool that helps
people work with APIs more efficiently
@poojamakes
We are moving
towards an
API First World
@poojamakes
Code-First Development
CORE
FUNCTIONALITY
API web app
admin app
mobile app
microservice
API
@poojamakes
@poojamakes
API-First Development
API web app
admin app
mobile app
@poojamakes
● It’s a model of software development
in which applications are conceptualized and built as an
interconnection of internal and external services through
APIs. APIs are prioritized over applications.
● It’s an organization mindset
API-First organizations include APIs in their strategy,
thinking their operations through added-value APIs hiding
complexity.
● It’s for all types of organizations and
APIs
Becoming API-First isn’t reserved to startups, silicon valley
companies, or organizations providing public facing APIs.
What API-First is
@poojamakes
8 traits of an effective API-first design
What problem is your API trying to solve?
@poojamakes
The Impact of the API Experience
Good API experience
● Usability & Reusability
● Time to value
● Create APIs will evolve smoothly
● Less risk of introducing breaking change
Bad API experience
● Costly
● Decreased Productivity both Consumer &
Producer
● Takes longer time for integration
● Leads to shift delivery dates
@poojamakes
Better Practices and Usual Concerns for Good API Design
● Naming
● Data Modeling
● Required/ Not Required
● Error handling
● Documentation
● Consistency
@poojamakes
The OpenAPI Specification:
A machine-readable and human-friendly API description format
● Describes REST(ish) web APIs
● Uses JSON Schema to describe data
● Written in JSON or YAML
● Vendor neutral, technology agnostic
and Interoperable standard
@poojamakes
Let’s Brew Some Coffee
@poojamakes
Always analyze the needs/the problem you
want to solve using natural language before
choosing between GET /this and POST
/that. It will help you decide which
operations are needed in the API.
Let’s Brew Some Coffee
@poojamakes
Better Practices and Usual Concerns for Good API Design
● Naming
● Data Modeling
● Required/ Not Required
● Error handling
● Documentation
● Consistency
@poojamakes
Naming
Naming Is hard
Rule of thumb: should be
consistent at every level
● endpoint names
● method names
● response codes.
@poojamakes
Data Modeling
Without proper data typing, there could be errors or misinterpretation of data, resulting in incorrect
output or unintended consequences.
@poojamakes
Required or Not Required
@poojamakes
● Required parameters : are
those that must be included in
an API request to receive a
valid response. - They are
essential for ensuring that the
API can process the request
and provide accurate data.
● Not-required parameters:
are optional and are not
necessary for the API to
function correctly. They can
provide additional information
that may enhance the
response or help to customize
the output.
Error Handling
@poojamakes
Error Handling
@poojamakes
Thank you
@poojamakes
@poojamakes

More Related Content

PDF
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
PDF
Apidays London 2024 - Battle-tested APIs_Tech and Business working together, ...
PDF
Designing Good API Experiences Session 24
PPTX
API (Application program interface)
PDF
A Comprehensive Guide to Using Python for Backend API Development
PDF
Space Camp June 2022 - API First.pdf
PDF
Why your APIs should fly first class
PDF
Nordic- APIOps is here What will you build in an API First World
INTERFACE by apidays 2023 - Battle-tested APIs, Jean Burellier, Sanofi
Apidays London 2024 - Battle-tested APIs_Tech and Business working together, ...
Designing Good API Experiences Session 24
API (Application program interface)
A Comprehensive Guide to Using Python for Backend API Development
Space Camp June 2022 - API First.pdf
Why your APIs should fly first class
Nordic- APIOps is here What will you build in an API First World

Similar to INTERFACE by apidays 2023 - Designing APIs That Stand the Test of Time, Pooja Mistry, Postman (20)

PDF
INTERFACE by apidays 2023 - APIOps is here, Pooja Mistry, Postman
PDF
Welcome Note by Abhinav Asthana, CEO at Postman
PDF
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
PDF
API Testing Interview Preparation and Methods
PPTX
Blue Prism Training Demo
PDF
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
PPTX
API Management in Digital Transformation
PDF
Mastering API Development: A Developer’s Roadmap for Success
PDF
The Complete Guide to API Development in 2022.pdf
PPTX
APIdays Helsinki 2019 - Lean Method for Building Good APIs for Business – API...
PDF
I am sorry Developer, your API just became a Product.pdf
PDF
API presentation
PDF
A_Complete_Guide_to_API_Development.pdf
PDF
An Introduction to APIs
PDF
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
ODP
Designing Good API & Its Importance
PDF
Top 10 Automated API testing Tools for Effective Software Testing.pdf
PDF
How To Get Started With API Testing In Your Organization.pdf
PPTX
RPA Developer Career Path
PDF
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
INTERFACE by apidays 2023 - APIOps is here, Pooja Mistry, Postman
Welcome Note by Abhinav Asthana, CEO at Postman
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
API Testing Interview Preparation and Methods
Blue Prism Training Demo
apidays Munich 2025 - The Double Life of the API Product Manager, Emmanuel Pa...
API Management in Digital Transformation
Mastering API Development: A Developer’s Roadmap for Success
The Complete Guide to API Development in 2022.pdf
APIdays Helsinki 2019 - Lean Method for Building Good APIs for Business – API...
I am sorry Developer, your API just became a Product.pdf
API presentation
A_Complete_Guide_to_API_Development.pdf
An Introduction to APIs
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
Designing Good API & Its Importance
Top 10 Automated API testing Tools for Effective Software Testing.pdf
How To Get Started With API Testing In Your Organization.pdf
RPA Developer Career Path
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Ad

More from apidays (20)

PDF
apidays Munich 2025 - The Physics of Requirement Sciences Through Application...
PDF
apidays Munich 2025 - Developer Portals, API Catalogs, and Marketplaces, Miri...
PDF
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
PDF
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
PDF
apidays Munich 2025 - Let’s build, debug and test a magic MCP server in Postm...
PDF
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
PDF
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
PDF
apidays Munich 2025 - Geospatial Artificial Intelligence (GeoAI) with OGC API...
PPTX
apidays Munich 2025 - GraphQL 101: I won't REST, until you GraphQL, Surbhi Si...
PPTX
apidays Munich 2025 - Effectively incorporating API Security into the overall...
PPTX
apidays Munich 2025 - Federated API Management and Governance, Vince Baker (D...
PPTX
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
PPTX
apidays Munich 2025 - Streamline & Secure LLM Traffic with APISIX AI Gateway ...
PPTX
apidays Munich 2025 - Building Telco-Aware Apps with Open Gateway APIs, Subhr...
PPTX
apidays Munich 2025 - Building an AWS Serverless Application with Terraform, ...
PDF
apidays Helsinki & North 2025 - REST in Peace? Hunting the Dominant Design fo...
PDF
apidays Helsinki & North 2025 - Monetizing AI APIs: The New API Economy, Alla...
PDF
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
PDF
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
PDF
apidays Helsinki & North 2025 - API-Powered Journeys: Mobility in an API-Driv...
apidays Munich 2025 - The Physics of Requirement Sciences Through Application...
apidays Munich 2025 - Developer Portals, API Catalogs, and Marketplaces, Miri...
apidays Munich 2025 - Making Sense of AI-Ready APIs in a Buzzword World, Andr...
apidays Munich 2025 - Integrate Your APIs into the New AI Marketplace, Senthi...
apidays Munich 2025 - Let’s build, debug and test a magic MCP server in Postm...
apidays Munich 2025 - The life-changing magic of great API docs, Jens Fischer...
apidays Munich 2025 - Automating Operations Without Reinventing the Wheel, Ma...
apidays Munich 2025 - Geospatial Artificial Intelligence (GeoAI) with OGC API...
apidays Munich 2025 - GraphQL 101: I won't REST, until you GraphQL, Surbhi Si...
apidays Munich 2025 - Effectively incorporating API Security into the overall...
apidays Munich 2025 - Federated API Management and Governance, Vince Baker (D...
apidays Munich 2025 - Agentic AI: A Friend or Foe?, Merja Kajava (Aavista Oy)
apidays Munich 2025 - Streamline & Secure LLM Traffic with APISIX AI Gateway ...
apidays Munich 2025 - Building Telco-Aware Apps with Open Gateway APIs, Subhr...
apidays Munich 2025 - Building an AWS Serverless Application with Terraform, ...
apidays Helsinki & North 2025 - REST in Peace? Hunting the Dominant Design fo...
apidays Helsinki & North 2025 - Monetizing AI APIs: The New API Economy, Alla...
apidays Helsinki & North 2025 - How (not) to run a Graphql Stewardship Group,...
apidays Helsinki & North 2025 - APIs in the healthcare sector: hospitals inte...
apidays Helsinki & North 2025 - API-Powered Journeys: Mobility in an API-Driv...
Ad

Recently uploaded (20)

PPTX
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
DOCX
Factor Analysis Word Document Presentation
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PDF
Microsoft Core Cloud Services powerpoint
PPT
ISS -ESG Data flows What is ESG and HowHow
PDF
[EN] Industrial Machine Downtime Prediction
PPTX
Leprosy and NLEP programme community medicine
PDF
Transcultural that can help you someday.
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PDF
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
Business_Capability_Map_Collection__pptx
PDF
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
PPTX
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
PPTX
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PPTX
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx
DS-40-Pre-Engagement and Kickoff deck - v8.0.pptx
Factor Analysis Word Document Presentation
Pilar Kemerdekaan dan Identi Bangsa.pptx
STERILIZATION AND DISINFECTION-1.ppthhhbx
Microsoft Core Cloud Services powerpoint
ISS -ESG Data flows What is ESG and HowHow
[EN] Industrial Machine Downtime Prediction
Leprosy and NLEP programme community medicine
Transcultural that can help you someday.
retention in jsjsksksksnbsndjddjdnFPD.pptx
Systems Analysis and Design, 12th Edition by Scott Tilley Test Bank.pdf
IBA_Chapter_11_Slides_Final_Accessible.pptx
Business_Capability_Map_Collection__pptx
OneRead_20250728_1808.pdfhdhddhshahwhwwjjaaja
(Ali Hamza) Roll No: (F24-BSCS-1103).pptx
FMIS 108 and AISlaudon_mis17_ppt_ch11.pptx
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
QUANTUM_COMPUTING_AND_ITS_POTENTIAL_APPLICATIONS[2].pptx

INTERFACE by apidays 2023 - Designing APIs That Stand the Test of Time, Pooja Mistry, Postman

  • 1. All rights reserved by Postman Inc Designing APIs that stand the test of Time Pooja Mistry Developer Advocate @poojamakes
  • 3. Hi, I’m Pooja! @poojamakes Developer Advocate, Postman Postman is an API platform for building and using APIs. It is used by 25 million + people world wide 🌏🌎🌍 For many teams, Postman is an everyday tool that helps people work with APIs more efficiently @poojamakes
  • 4. We are moving towards an API First World @poojamakes
  • 5. Code-First Development CORE FUNCTIONALITY API web app admin app mobile app microservice API @poojamakes
  • 7. API-First Development API web app admin app mobile app @poojamakes
  • 8. ● It’s a model of software development in which applications are conceptualized and built as an interconnection of internal and external services through APIs. APIs are prioritized over applications. ● It’s an organization mindset API-First organizations include APIs in their strategy, thinking their operations through added-value APIs hiding complexity. ● It’s for all types of organizations and APIs Becoming API-First isn’t reserved to startups, silicon valley companies, or organizations providing public facing APIs. What API-First is @poojamakes
  • 9. 8 traits of an effective API-first design What problem is your API trying to solve? @poojamakes
  • 10. The Impact of the API Experience Good API experience ● Usability & Reusability ● Time to value ● Create APIs will evolve smoothly ● Less risk of introducing breaking change Bad API experience ● Costly ● Decreased Productivity both Consumer & Producer ● Takes longer time for integration ● Leads to shift delivery dates @poojamakes
  • 11. Better Practices and Usual Concerns for Good API Design ● Naming ● Data Modeling ● Required/ Not Required ● Error handling ● Documentation ● Consistency @poojamakes
  • 12. The OpenAPI Specification: A machine-readable and human-friendly API description format ● Describes REST(ish) web APIs ● Uses JSON Schema to describe data ● Written in JSON or YAML ● Vendor neutral, technology agnostic and Interoperable standard @poojamakes
  • 13. Let’s Brew Some Coffee @poojamakes Always analyze the needs/the problem you want to solve using natural language before choosing between GET /this and POST /that. It will help you decide which operations are needed in the API.
  • 14. Let’s Brew Some Coffee @poojamakes
  • 15. Better Practices and Usual Concerns for Good API Design ● Naming ● Data Modeling ● Required/ Not Required ● Error handling ● Documentation ● Consistency @poojamakes
  • 16. Naming Naming Is hard Rule of thumb: should be consistent at every level ● endpoint names ● method names ● response codes. @poojamakes
  • 17. Data Modeling Without proper data typing, there could be errors or misinterpretation of data, resulting in incorrect output or unintended consequences. @poojamakes
  • 18. Required or Not Required @poojamakes ● Required parameters : are those that must be included in an API request to receive a valid response. - They are essential for ensuring that the API can process the request and provide accurate data. ● Not-required parameters: are optional and are not necessary for the API to function correctly. They can provide additional information that may enhance the response or help to customize the output.