curl --request GET \
--url https://api.eda.prisme.ai/v2/me \
--header 'Authorization: Bearer <token>'
{
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<any>"
}
},
"mfa": "totp",
"meta": {},
"platformRole": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"id": "<string>",
"sessionId": "<string>",
"expires": "<string>"
}
Retrieve current authenticated user
curl --request GET \
--url https://api.eda.prisme.ai/v2/me \
--header 'Authorization: Bearer <token>'
{
"email": "foo@prisme.ai",
"status": "pending",
"language": "<string>",
"authData": {
"anonymous": {},
"prismeai": {},
"azure": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"language": "<any>"
}
},
"mfa": "totp",
"meta": {},
"platformRole": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"photo": "<string>",
"groups": [
"<string>"
],
"id": "<string>",
"sessionId": "<string>",
"expires": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Success Response
The response is of type object
.
Was this page helpful?