Skip to content
CMO & CTO
CMO & CTO

Closing the Bridge Between Marketing and Technology, By Luis Fernandez

  • Digital Experience
    • Experience Strategy
    • Experience-Driven Commerce
    • Multi-Channel Experience
    • Personalization & Targeting
    • SEO & Performance
    • User Journey & Behavior
  • Marketing Technologies
    • Analytics & Measurement
    • Content Management Systems
    • Customer Data Platforms
    • Digital Asset Management
    • Marketing Automation
    • MarTech Stack & Strategy
    • Technology Buying & ROI
  • Software Engineering
    • Software Engineering
    • Software Architecture
    • General Software
    • Development Practices
    • Productivity & Workflow
    • Code
    • Engineering Management
    • Business of Software
    • Code
    • Digital Transformation
    • Systems Thinking
    • Technical Implementation
  • About
CMO & CTO

Closing the Bridge Between Marketing and Technology, By Luis Fernandez

APIs Are the New UX

Posted on April 1, 2025 By Luis Fernandez

APIs are the new UX

The new UX is not on a screen. It sits on a port and it speaks JSON.

APIs are the experience layer now. When a feed loads fast, when a payment clears without drama, when your car app knows the right route, that is an API making choices. For developers this is the product surface. For marketers this is the brand promise in motion. If the contract is clean and the latency is low, people feel it even if they never see it.

Why is this hitting right now? Apps are leaning on partner data, AI features call out to model hosts, and every team is shipping connectors to win distribution. Screens still matter, but the moment that decides delight is the request and the response. So treat the API like a front door. Give it taste. Give it speed. Give it the smallest number of surprises.

Design for taste, not just transport

Good API UX starts with nouns and verbs that match the way people think. Keep lists predictable. Cursor based paging beats guessing offsets. Keep ids opaque. Avoid clever.

# list customers with cursors
curl -s https://api.example.com/v1/customers?cursor=eyJwYWdlIjoyfQ&limit=25 \
  -H "Authorization: Bearer <token>"

# server should return link style hints for next and prev
# Link: <https://api.example.com/v1/customers?cursor=...>; rel="next"

Speed tells the whole story

p95 under 200 ms feels snappy for most reads. Writes can breathe a bit more, but keep the first byte quick and stream when you can. Cache the boring stuff. Precompute obvious joins. Ship a status header so folks can measure without guessing.

# express snippet with a simple server timing header
app.use((req, res, next) => {
  const start = process.hrtime.bigint();
  res.on('finish', () => {
    const dur = Number(process.hrtime.bigint() - start) / 1e6;
    res.setHeader('Server-Timing', `app;dur=${dur.toFixed(1)}`);
  });
  next();
});

Errors are microcopy

Avoid mystery. Keep a stable code, a short message for humans, and fields that help machines recover. Do not bury the cause in a wall of text. Add docs links for deep dives.

{
  "error": {
    "code": "rate_limited",
    "message": "Too many requests. Try again in 2 seconds.",
    "retry_after_ms": 2000,
    "docs": "https://docs.example.com/rate-limits"
  }
}

Auth that feels like logging in

Pick one clear story. For server to server, OAuth client credentials keep keys off laptops. For user flows, device and PKCE keep copy pasting to a minimum. Scope names should read like real permissions, not riddles.

# token fetch
curl https://auth.example.com/oauth/token \
  -d grant_type=client_credentials \
  -d client_id=$CLIENT_ID \
  -d client_secret=$CLIENT_SECRET \
  -d scope="customers.read customers.write"

Versioning without betrayal

Breaking changes feel like breaking trust. Pick a simple scheme and keep it boring. Date based or v numbers both work. Announce up front. Give a long runway. Offer an adapter for common old calls so folks can move over time.

# vendor style content negotiation
curl https://api.example.com/customers/123 \
  -H "Accept: application/vnd.example.v2+json"

Docs are the real onboarding

Docs should answer three jobs fast: how to auth, how to make the first useful call, and how to spot limits. Add copy that explains why something exists, not only what it does. Keep examples short and real. Ship a working starter in every major language your users touch.

// quick start with fetch
const res = await fetch("https://api.example.com/v1/customers", {
  headers: { "Authorization": `Bearer ${token}` }
});
const data = await res.json();
console.log(data.items.map(c => c.email));

Marketing meets DX

Your API is a growth channel. A clean SDK becomes a loop. A clear rate story makes pricing honest. A public status page lowers support load and raises trust. Tell the world your time to first call is under five minutes. Put a link to a ready to run notebook and a Postman collection. Feature partners built on your endpoints and measure referral lift from their docs.

Track what matters: signups that reach first 200 OK, first 1000 calls, percent of apps with retries set up, long running keys, and the p95 of your docs search. These numbers are your UX scores now.

Quick checklist: consistent ids, stable enums, helpful errors, fast reads, safe writes, clear limits, long deprecations, open status, real samples, and a human on call in your forum when things get weird.

Treat your API like a face people meet every day, because it already is.

Digital Experience Marketing Technologies java

Post navigation

Previous post
Next post
  • Digital Experience (94)
    • Experience Strategy (19)
    • Experience-Driven Commerce (5)
    • Multi-Channel Experience (9)
    • Personalization & Targeting (21)
    • SEO & Performance (10)
  • Marketing Technologies (92)
    • Analytics & Measurement (14)
    • Content Management Systems (45)
    • Customer Data Platforms (4)
    • Digital Asset Management (8)
    • Marketing Automation (6)
    • MarTech Stack & Strategy (10)
    • Technology Buying & ROI (3)
  • Software Engineering (310)
    • Business of Software (20)
    • Code (30)
    • Development Practices (52)
    • Digital Transformation (21)
    • Engineering Management (25)
    • General Software (82)
    • Productivity & Workflow (30)
    • Software Architecture (85)
    • Technical Implementation (23)
  • 2025 (12)
  • 2024 (8)
  • 2023 (18)
  • 2022 (13)
  • 2021 (3)
  • 2020 (8)
  • 2019 (8)
  • 2018 (23)
  • 2017 (17)
  • 2016 (40)
  • 2015 (37)
  • 2014 (25)
  • 2013 (28)
  • 2012 (24)
  • 2011 (30)
  • 2010 (42)
  • 2009 (25)
  • 2008 (13)
  • 2007 (33)
  • 2006 (26)

Ab Testing Adobe Adobe Analytics Adobe Target AEM agile-methodologies Analytics architecture-patterns CDP CMS coding-practices content-marketing Content Supply Chain Conversion Optimization Core Web Vitals customer-education Customer Data Platform Customer Experience Customer Journey DAM Data Layer Data Unification documentation DXP Individualization java Martech metrics mobile-development Mobile First Multichannel Omnichannel Personalization product-strategy project-management Responsive Design Search Engine Optimization Segmentation seo spring Targeting Tracking user-experience User Journey web-development

©2025 CMO & CTO | WordPress Theme by SuperbThemes