How do I start building an API?

Currently Channel Points redemption is a PubSub topic

Covers the documentation, and a rough nodeJS example of a PubSub clients is