RyTask docs
REST APIAuth

Email + password sign-in → access + rotating refresh (FR-AUTH-001/002)

View as MarkdownOpen in ChatGPTOpen in Claude
POST
/auth/login

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/auth/login" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "password": "pa$$word"  }'
{  "accessToken": "string",  "refreshToken": "string",  "expiresIn": 0,  "user": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "email": "user@example.com",    "name": "string",    "emailVerified": true  }}
Empty
Empty