Skip to content
WP Engine |Hosting Platform API

Get the current user

GET
/user

Returns the currently authenticated user

The currently authenticated user

object
id
required
string
Example
fd8e24a5-1f16-4b80-af5f-d748bcc9e64d
first_name
string
Example
Joe
last_name
string
Example
Smith
email
required
string
Example
joe@gmail.com
phone_number
string
Example
123456789

Authentication Error

object
message
required

A message regarding the error that occurred on the server

string
Example
Bad Credentials
documentation_url

(Optional) A URL where documentation regarding this specific error can be found

string

Too many requests

Service unavailable