Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Successful Response
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": []
}
}
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": []
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
Show child attributes