Open API
The Yroun Open API gives hub owners full programmatic control over their hub: posts, pages, chat, schedules, series, widgets, webhooks. Everything in the UI is also a REST endpoint under https://oapi.yroun.com/hubs/{hubUid}/.
Admins of someone else's hub can use it too, for content work: pages, posts, series, schedules, media, place curations. Two things to know: the hub must be named explicitly in your key's hub list (an unrestricted key only ever reaches hubs you own), and snapshots, webhooks and chat stay owner-only.
Reading a PUBLIC hub is open to any key: posts, pages and schedules of a public hub can be read with your own key even if the hub is not yours. You receive exactly what a signed-out visitor sees on the web: its public pages. The owner and its admins see the full tree. Writing always needs ownership or admin access.
This page is the quickstart. The four sub-pages below are the deep references. Open whichever fits the work in front of you.
30-second auth
curl https://oapi.yroun.com/hubs/HUBUID \ -H "X-API-Key: yroun_key_xxxxxxxxxxxx"
A missing or invalid key returns 401. Sending a session token to /oapi/** returns 400. Don't mix the two.
Credits at a glance
API access is credit-based. A call costs by what it does: reading or changing one thing is 1 credit, and creating something new is 2. An upsert counts as a change, so it stays at 1. Credits are drawn from three pools in order:
Every response carries the running totals as headers:
X-Credits-Session-Remaining: 87 X-Credits-Weekly-Remaining: 943 X-Credits-Session-Resets-At: 2026-04-21T19:00:00Z X-Credits-Weekly-Resets-At: 2026-04-27T11:00:00Z
Plan allocations: Pro = 500 session / 10,000 weekly. When all three pools are empty the response is 429 with the reset time.
Where to next
Top-3 starting points by scenario
Stuck, or something here is wrong? Send us a message