# Non-developers can Easily use your Public API - Ask me How

- Speaker: [Yonatan Maman](/wiki/speakers/yonatan-maman.md)
- Event: [Reversim Summit 2021](/wiki/years/2021.md)
- Video: https://www.youtube.com/watch?v=NyKBy1suyWo
- Transcript: [/transcripts/2021/53-NyKBy1suyWo.md](/transcripts/2021/53-NyKBy1suyWo.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Software Engineering](/wiki/topics/software-engineering.md), [Microservices](/wiki/topics/microservices.md), [Architecture](/wiki/topics/architecture.md), [Developer Experience](/wiki/topics/developer-experience.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

This talk explores how to make a complex public API accessible to non-developers who lack coding and engineering infrastructure skills. The speaker shares the journey of developing a visual programming interface using block-based coding to help advertisers automate campaign optimization rules. Through iterative user testing, the team discovered that traditional SDKs were too difficult for non-engineers, leading to a successful visual solution inspired by Scratch. Ultimately, this approach empowers users to implement custom business logic safely and fosters strong user engagement through the IKEA effect.

## Key points

- [1:17](https://www.youtube.com/watch?v=NyKBy1suyWo&t=77s) The speaker introduces the core mission of making public APIs accessible to non-engineers so they can experience the power of programming.
- [2:27](https://www.youtube.com/watch?v=NyKBy1suyWo&t=147s) An overview of the company's open web recommendation platform and how advertisers interact with it as a business marketplace.
- [5:40](https://www.youtube.com/watch?v=NyKBy1suyWo&t=340s) Research revealed that non-technical users faced three barriers to using the API: defining business logic, programming skills, and engineering operations.
- [7:57](https://www.youtube.com/watch?v=NyKBy1suyWo&t=477s) The initial attempt involved building a simple TypeScript SDK, which ultimately failed user testing because non-programmers could not read or write the code.
- [10:01](https://www.youtube.com/watch?v=NyKBy1suyWo&t=601s) Inspired by Scratch and Blockly, the team shifted to a visual programming editor where users drag and drop blocks to build automation rules.
- [18:35](https://www.youtube.com/watch?v=NyKBy1suyWo&t=1115s) Running untrusted generated code via eval required robust server-side validation and security measures to prevent server crashes and injection attacks.
- [20:36](https://www.youtube.com/watch?v=NyKBy1suyWo&t=1236s) The resulting architecture functions as a domain-specific serverless platform tailored for ad campaign management.
- [21:45](https://www.youtube.com/watch?v=NyKBy1suyWo&t=1305s) Data shows that active users steadily create more rules over time, driven by the satisfaction of building solutions themselves.

## Takeaways

- Identify the actual non-technical barriers users face before designing developer tools for them.
- Visual programming interfaces like block-based editors can successfully bridge the gap for non-developers.
- Validate assumptions early through direct user testing with your target audience rather than internal developers.
- Ensure strict server-side validation and security precautions when executing dynamically generated code.

## Questions this talk answers

- How can you make a complex public API usable for non-technical users?
- What are the architectural and security implications of running dynamically generated code on your servers?
- How do you choose between building a traditional SDK versus a visual low-code interface for your customers?

## Technologies

TypeScript, JavaScript, Blockly

## Tags

api design, architecture, developer experience, low code, security, visual programming
