REST over HTTPS, JSON only. Authentication uses bearer tokens issued by /v1/auth/session. All responses include X-Request-ID for tracing.
Base URL
https://api.yahsway.app
/v1/auth/session● operationalExchange OAuth or email/password for a session token.
{
"ok": true,
"data": {
"id": "obj_01H...",
"createdAt": "2026-01-09T16:00:00Z"
}
}/v1/auth/refresh● operationalRefresh an expiring session token.
{
"ok": true,
"data": {
"id": "obj_01H...",
"createdAt": "2026-01-09T16:00:00Z"
}
}/v1/auth/session● operationalRevoke the current session.
{
"ok": true,
"data": {
"id": "obj_01H...",
"createdAt": "2026-01-09T16:00:00Z"
}
}