---
title: "How We Design Our APIs at Slack"
description: "Slack's public API design rests on six principles: do one thing well, minimize time to first \"Hello world\", keep naming consistent, return meaningful errors, design for scale, and avoid breaking changes."
url: "https://swe.quest/articles/how-we-design-our-apis-at-slack-ca59bf52b556b781"
canonical: "https://slack.engineering/how-we-design-our-apis-at-slack/"
source: "Slack Engineering"
published: "2021-08-11"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 11
tags: ["api-design","developer-productivity"]
---

# How We Design Our APIs at Slack

A post on [Slack Engineering](https://swe.quest/sources/slack.md), published 2021-08-11, 11 min read, Opinion. Original: [https://slack.engineering/how-we-design-our-apis-at-slack/](https://slack.engineering/how-we-design-our-apis-at-slack/)

## Summary

Slack's public API design rests on six principles: do one thing well, minimize time to first "Hello world", keep naming consistent, return meaningful errors, design for scale, and avoid breaking changes. Concrete lessons include splitting the bloated rtm.start into rtm.connect and replacing channels.list's nested member collections with conversations.list and conversations.members once teams grew to tens of thousands of users. The recommendations are to paginate or bound collections from the start, never nest large collections, and rate limit. New APIs go through a written spec, cross-functional review in #api-decisions and office hours, early partner feedback, and a beta before release.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [API design](https://swe.quest/tags/api-design.md) (Backend & APIs)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Prerequisites

- HTTP APIs basics ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))

## Keywords

Slack Platform, rtm.start, rtm.connect, conversations.list, OpenAPI, AsyncAPI

## Related posts

- [Slack Overflow: How We Scaled Slack to Support 1000s of Developers](https://swe.quest/articles/slack-overflow-how-we-scaled-slack-to-support-1000s-of-developers-8632014eebe803cb.md): Railway · 2025-01-23 · Medium · 9 min read · Communications, Resilience, TypeScript, Product engineering
  Railway built a two-way bridge between Slack Connect channels and its in-house Help Station support tool, auto-creating channels when customers hit growth thresholds.
- [Empowering Engineers with AI](https://swe.quest/articles/empowering-engineers-with-ai-c490ba73d4a1f2fc.md): Slack Engineering · 2024-11-08 · Easy · 7 min read · AI for coding, RAG & retrieval, LLMs, Developer productivity, ML platforms
  Slack built a set of internal generative-AI developer tools that it estimates will save 10,000+ engineering hours this year.
- [Scaling Slack’s Mobile Codebases: Modernization](https://swe.quest/articles/scaling-slack-s-mobile-codebases-modernization-950b9c539d5b5770.md): Slack Engineering · 2022-05-04 · Medium · 12 min read · Mobile, Refactoring & migrations, Swift, Java & JVM, Build systems
  Slack's year-and-a-half Duplo initiative concluded by modernizing its iOS and Android codebases: iOS moved to a custom VIPER-style feature architecture, stricter SwiftLint rules banning singletons and NotificationCenter, Combine (via CombineX until iOS 12 was dropped), and broader SlackKit adoption, while Android replaced Gson with Moshi, Android Priority Job Queue with WorkManager, and handwritten API calls with an internal Retrofit-based library, and introduced coroutines and Compose incrementally. iOS ended 68% modernized and 81% modularized with CI stability rising from 77% to 90% and average time-to-merge down 64%, Android reached 92% modularization, and local builds later dropped nearly 50% with Bazel and M1 Macs.
- [Role Management at Slack](https://swe.quest/articles/role-management-at-slack-b07a74302caf6820.md): Slack Engineering · 2021-05-24 · Medium · 9 min read · Identity & auth, System design, Microservices, Deployment, Go
  Slack replaced its coarse guest/member/admin/owner hierarchy with a role-based access control system that grants granular permissions such as ARCHIVE\_CHANNEL scoped to an enterprise or workspace entity.
- [Tooling ≠ Glue: Why changing AI workflows still feels like duct tape](https://swe.quest/articles/tooling-glue-why-changing-ai-workflows-still-feels-like-duct-tape-05787370dd3f5732.md): Docker · 2025-08-11 · Easy · 7 min read · LLMs, API design, Resilience, System design, RAG & retrieval
  AI pipelines built from LangChain, vector stores, embedding models and LLM providers look modular but are tightly coupled through undocumented assumptions about tokenization, prompt formats, retries and latency, so swapping one component breaks others.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
