Yenio

Environment

X-Yenio-Environment for user JWTs, and how key prefixes win.

Sandbox and production are a column on each organization-scoped business row. They are not a separate deployment.

User JWTs

Send X-Yenio-Environment: sandbox or X-Yenio-Environment: production. The default is sandbox.

API keys

yk_test_ is sandbox and yk_live_ is production. The prefix selects the environment. A conflicting X-Yenio-Environment value is HTTP 400.

Local development uses sandbox unless the caller sends X-Yenio-Environment: production.