cURL
curl --request GET \ --url https://api.primeintellect.ai/api/v1/user/whoami \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<string>", "role": "USER", "createdAt": "2023-11-07T05:31:56Z", "name": "<string>", "slug": "<string>", "email": "<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.
Bearer <token>
<token>
Successful Response
Response data Extended User response that includes token scope permissions.
Show child attributes
Response status