Skip to main content

Get user detail

To get current authenticated user details, you should perform an HTTP GET on the user endpoint: https://app.linksgpt.com/api/v1/users/me

REQUEST EXAMPLE

cURL
curl 'https://app.linksgpt.com/api/v1/users/me' \
-X GET \
-H 'apiKey: YOUR_API_KEY' \
-H 'Accept: application/json' \
-H 'Accept-Language: en'

RESPONSE EXAMPLE

JSON
{
"code": 0,
"message": "success",
"data": {
"id": "jkdakdqc1vb",
"name": "Aaron",
"email": "[email protected]",
"defaultWorkspaceId": "7e3ydi936o",
"timezone": "UTC",
"language": "en",
"emailVerified": true,
"emailVerifiedAt": "2023-06-02 08:09:12",
"createdAt": "2023-06-02 08:06:08",
"updatedAt": "2023-06-18 00:21:16"
}
}

See more HTTP Responses

RESPONSE DATA

PropertyTypeDescription
idstringThe unique identifier (id) of the user.
namestringName of the user.
emailstringEmail address of the user.
defaultWorkspaceIdstringThe default workspace id of the user.
timezonestringTimezone of the user.
languagestringThe language preference used by the system to send emails.
emailVerifiedboolEmail address is verified.
emailVerifiedAtstringEmail address verification time.
createdAtstringCreated time.
updatedAtstringLast updated time.