Get the current user (personal tokens only)
GET
/meAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
readResponses
200Success
itemUserrequiredShow propertiesHide properties
idobjectrequiredemailobjectrequiredfirst_nameobjectrequiredlast_nameobjectrequirednameobjectrequiredmetadataMetadatarequired401Missing, invalid, expired, or revoked OAuth token
errorstring429Rate limit exceeded
errorstringRequest
curl -X GET "http://localhost:3000/api/v2/me" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("http://localhost:3000/api/v2/me", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.get(
"http://localhost:3000/api/v2/me",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"item": {
"id": {},
"email": {},
"first_name": {},
"last_name": {},
"name": {}
},
"metadata": {}
}{
"error": "string"
}{
"error": "string"
}