1
Get an API key
The author creates it in Sonder under Settings → API keys: they name it (for example “Publisher Champ”), copy it and paste it into your product. Keys start with
sonder_live_ and are shown once.If you’re building for many authors, one-click connect lets them skip the copy and paste.2
Check the key works
Call
GET /account. It tells you whose account the key belongs to, so you can show “Connected as Jane Author”.3
Read the last week of views
GET /stats returns views gained each day for every video that moved in the range. The default range is the last 7 days (UTC).went_viral: true marks the day to highlight on a chart.Next
Poll for viral days
The loop Publisher Champ runs: events for notifications, stats for charts.
API reference
Every endpoint, field and error, with a live playground.