Admins / verify
API Overview
Path: /api/admins/verify — Method: GET
Auth: session-cookie
Request Details
No headers required
No path params required
No query required
No body required
Responses
- 200Authenticated
{"success":true,"admin":{"id":"...","email":"admin@example.com","name":"Admin"}} - 401Unauthorized
- 500Verification error
Notes & Tips
- Ensure headers match exactly (e.g.,
x-apikey). - Use
Content-Type: application/jsonfor JSON bodies. - For Bearer auth, you can provide either a session JWT or an opaque API key where supported.