curl --request GET \
--url https://api.primeintellect.ai/api/v1/user/whoami \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "<string>",
"email": "<string>",
"id": "<string>",
"role": "USER",
"createdAt": "2023-11-07T05:31:56Z",
"slug": "<string>",
"image": "<string>",
"emailVerified": true,
"hasBetaAccess": false,
"isBanned": false,
"skipPrepay": false,
"blacklist": [],
"scope": {}
},
"status": "<string>"
}curl --request GET \
--url https://api.primeintellect.ai/api/v1/user/whoami \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "<string>",
"email": "<string>",
"id": "<string>",
"role": "USER",
"createdAt": "2023-11-07T05:31:56Z",
"slug": "<string>",
"image": "<string>",
"emailVerified": true,
"hasBetaAccess": false,
"isBanned": false,
"skipPrepay": false,
"blacklist": [],
"scope": {}
},
"status": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Response data
Show child attributes
ADMIN, MANAGER, USER Response status