Skip to main content
GET
/
api
/
v1
/
user
/
whoami
Get Whoami
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": []
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful Response

data
object
required
I