cURL
curl --request GET \ --url https://api.example.com/api/auth/users/{userId} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "email": "[email protected]", "metadata": {}, "emailVerified": true, "providers": [ "<string>" ], "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Get user details by ID (admin only)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User ID
User details