⌘
K
GrokAI
About
Ask Grok
Demo
Swagger-UI
GrokAI API
Authentication
User
Quota
Collections
Documents
Conversations
Messages
Docs powered by
Archbee
GrokAI API
User
Get user
GET
Try it
Get the currently signed in user
Authentication
X-API-Key
apiKey
Responses
200
User
id
string
displayName
string
photoUrl
string
email
string
default
Default error response
ErrorResponse
code
integer
*
message
string
*
status
string
*
data
object
Curl
JS
Ruby
Python
1
curl
--location
'https://api.askgrok.ai/user'
\
2
--header
'Accept: application/json'
\
3
--header
'Content-Type: application/json'
curl --location 'https://api.askgrok.ai/user' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
Responses
200
default
1
{
2
"id"
:
"a1b2c3d4e5"
,
3
"displayName"
:
"Grok User"
,
4
"photoUrl"
:
"https://api.dicebear.com/6.x/adventurer/svg"
,
5
"email"
:
"
[email protected]
"
6
}
{ "id": "a1b2c3d4e5", "displayName": "Grok User", "photoUrl": "https://api.dicebear.com/6.x/adventurer/svg", "email": "user@grok.ai" }
PREVIOUS
Delete API Key
NEXT
Update user
Docs powered by
Archbee
Docs powered by
Archbee