📡 API Reference
Powerful RESTful API endpoints for integrating with eggythi.tsas services.
🔓 Authentication
All API requests must be authenticated with a Bearer token. Tokens expire every 24 hours.
Request: GET /api/auth/token
// Login request\nPOST /api/auth/login\nContent-Type: application/json\n\n{\n "email": "user@example.com",\n "password": "securepassword123"\n}
Response: 200 OK
{\n "token": "eyJhbGciOiJIUzI1Ni...",\n "expires_in": 86400,\n "user_id": "abcd1234-ef56-7890-g1h2-ijklmnopqrst"\n}
Authentication Headers
Authorization
Bearer {token}