cURL
curl --request GET \ --url https://api.wazapin.id/v1/auth/me \ --header 'X-Api-Key: <api-key>'
Get the current authenticated user profile.
GET /v1/auth/me
X-Api-Key
curl -X GET "https://api.wazapin.id/v1/auth/me" \ -H "X-Api-Key: YOUR_API_KEY" \ -H "Accept: application/json"
{ "data": { "id": "a6c8ca86-2f29-4fe6-a077-1e56cb4ec2f2", "name": "Demo User", "email": "user@example.com" } }
{ "title": "Unauthorized", "status": 401, "detail": "missing or invalid credentials" }