Skip to main content
GET
Get current user
The call identifies you from your access token, so it takes no parameters. Use the returned id wherever a call asks for your user ID, and pass it in quotes. Check the type field to find out whether your account is a Prophecy administrator for the whole instance. ClusterAdmin means it is. The add users to teams API uses this in isRequesterGlobalAdmin.

Headers

X-AUTH-TOKEN
string
required

Prophecy access token

Response

200 - application/json

User details

email
string

Email address of the user.

id
string

User ID. A string of digits; pass it in quotes wherever a call asks for it.

type
string

Account type. ClusterAdmin indicates a Prophecy administrator for the whole instance.

created
integer<int64>

Time the account was created, in milliseconds since the Unix epoch.

userState
string | null

State of the user account.

invitationStatus
string

Invitation status of the account.