👽 APIs explained with aliens


Hi Reader,

today we are going to break down my favorite topic — APIs!

Why is this my favorite? Because I work with them daily as an integrations PM. So it better be!

I started this job with almost zero knowledge of how APIs work and a lot of fear :)

But it was worth it, because now I can break it down for you in very simple language — under 10 minutes.

If you’ve ever felt unsure about APIs, this one is for you.

Today in 10 minutes you will:

  • Understand what APIs actually are (with an alien twist)
  • Learn REST, GraphQL, and SOAP in simple words
  • Try testing them yourself
  • Bonus: see how to generate a REST API with AI

Why do you need to know about APIs?

Most modern products both use APIs and offer APIs to others.

  • If you have a web UI, it uses APIs.
  • If your system exchanges information with another, it uses APIs.
  • If you’re building internal tools, APIs enable integrations between apps.
  • If you’re building SaaS, customers will expect your APIs so they can build on top.

You don’t have to code them yourself.

But you do need to know how they work — otherwise, how can you design for customers and partners if you don’t understand the foundation?

APIs in simple words

API = Application Programming Interface.

Think of it as the language of applications.

APIs in alien language

Imagine Earth gets visited by friendly aliens.
They want to collaborate, trade, maybe share their advanced tech.

There’s just one problem — they don’t speak our language.
Not even hand gestures work.

So they hand us a guidebook of their language.

That guide is basically… an API.

It tells us:

  • What words mean
  • How to ask questions
  • What answers to expect

That’s exactly what APIs do for systems. They’re the translation layer between two worlds.

REST APIs – Alien common phrases page

The first page of the alien guidebook is common phrases.
That’s REST APIs.

  • REST uses simple, standard HTTP methods: GET, POST, PUT, DELETE.
  • Every piece of data has its own address (a URL).
  • Responses are usually neat and predictable (JSON).
  • The rules are consistent across systems.

Examples:

  • GET /alien/technology → “Show us your tech.”
  • PUT /alien/homeaddress → “Update alien homeaddress to Earth.”
  • POST /alien/recipes → “Share human recipes with aliens.”
  • DELETE /alien/cursewords → “Delete bad words from alien phrasebook.”

Want to test REST APIs in under 3 clicks and for free?
Try out a free Swagger Petstore UI — you can click “Try it out” and see how requests and responses work.

GraphQL – Alien custom translator headset

Now imagine instead of flipping through the guidebook, the aliens give you a translator headset.
You ask one custom question, and you get exactly what you asked for — no more, no less.

That’s GraphQL.

  • One single endpoint instead of many URLs.
  • You decide exactly which fields to return.
  • No “overfetching” (too much data) or “underfetching” (not enough).

Examples:

  • “Tell me alien recipes, but only names and spice levels.”
  • “Now also include tech items invented in the last 100 years.”

Benefits: Flexible and efficient.
Challenges: Without limits, you can overload the system with massive queries.

Try it here in under 3 clicks and for free: Star Wars GraphQL API.

SOAP – Alien formal ceremonies

Finally, some aliens are very traditional.
They don’t like casual phrases or flexible headsets.
They insist on formal ceremonies with long scripts, where every word must be exactly right.

That’s SOAP.

  • Uses XML and a WSDL document (the script).
  • Strict, verbose, reliable.
  • Common in banks, insurance, and government.
  • Includes built-in error handling and security standards.

Example:

  • “Perform the recipe-sharing ritual with full nutritional details, in the exact sequence required.”

Benefits: Very structured and safe.
Challenges: Slow to work with and overly complex compared to REST.

Want to see it? Download SoapUI and test a public SOAP service.

Advanced: Try Coding a REST API with AI

If you’re curious how APIs look under the hood, you can get AI to build one for you.

Copy-paste this prompt into ChatGPT (or your favorite AI tool):

Build a minimal REST API using Python + FastAPI.
Domain: Alien Recipes.
CRUD for recipes with fields: id, name, originPlanet, spiceLevel (1–5), ingredients (array of strings).

Requirements:

  • Endpoints: GET /recipes, GET /recipes/{id}, POST /recipes, PUT /recipes/{id}, DELETE /recipes/{id}
  • In-memory store (no DB needed)
  • Validation with Pydantic
  • Auto-generated docs at /docs
  • README with run instructions
  • Example cURL commands

Run it locally in 3 steps:

  1. pip install fastapi uvicorn
  2. Save the code as app.py
  3. Run: uvicorn app:app --reload → open http://localhost:8000/docs

That’s it — you’ll see the alien “guidebook” turned into real code you can play with.

Behind the Scenes

I am a bit of a health freak. I love cooking healthy food, but I’m not so great at cooking… so any time I learn a new recipe, I repeat it until I get tired of it.

Lately, it’s been coconut curries with spices on repeat. Add protein, veggies, microwave rice (for speed) — done.

Any recipes you’re cooking on repeat? Let me know!

What do you think?

Did this newsletter help you simplify APIs a bit?

Hit reply and let me know — do you love it, hate it, want more of something else?

Looking forward to hearing from you,

Maria

Frankfurt am Main, 60311, Germany
Unsubscribe · Preferences

Maria Korteleva

Hi, I’m Maria. For the past 7 years, I’ve been building internal products across FMCG and tech companies.Now, I share everything I’ve learned to help junior PMs master delivery from technical skills to stakeholder communication. Join 200+ Internal PMs who get weekly insights from the Build Internal Products newsletter.

Read more from Maria Korteleva

Hi Reader, Has your software ever frozen for no clear reason? Bugs showing up where you least expect them? A tiny change somehow setting off a chain of other changes nobody planned for? If any of that sounds familiar, my friend, you (well, your product) probably have technical debt. And right now, I am living it. Today in 10 minutes you will: See why it happens, even on great teams Understand why you should care as a PM (with the data to back it up) Know the main types of technical debt Get...

Hi Reader, today is another story from the battlefield. The kind of work that doesn't feel exciting, but the kind that saves you from a disaster. Literally. Do you have a plan for when something goes seriously wrong with your product? A database gets overloaded. An API goes down. A cyberattack hits. A critical integration just... stops working. What do you do? That's what we're talking about today. Today in 10 minutes you will: Understand what disaster recovery actually means for internal PMs...

Hi Reader, Do you love politics or hate it? Or are you just wondering why you have to deal with it at all? You just want to get the work done. Here's the thing: internal product management is infamous for it. But there's a way to play the game without feeling like you're playing it. And the answer starts with how you see it. Today in 10 minutes you will: See what it looks like in internal PM through real scenarios Reframe your mindset so you stop avoiding it Get practical tools to navigate it...