curl --request GET \
--url http://localhost:4000/api/user/me \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"dynamicUserId": "<string>",
"handle": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastLoginAt": "2023-11-07T05:31:56Z",
"status": "active",
"tier": "bronze"
}
}
Get the current authenticated user’s information
curl --request GET \
--url http://localhost:4000/api/user/me \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"dynamicUserId": "<string>",
"handle": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"lastLoginAt": "2023-11-07T05:31:56Z",
"status": "active",
"tier": "bronze"
}
}
Dynamic authentication JWT token
User information
The response is of type object
.