Get information on the current user
GET/users/current
Get information on the current user
Request
Query Parameters
You can find your API key in the Import.io dashboard under User Settings
Responses
- 200
- 401
User details retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier for the user.
_meta
object
[internal] The metadata of the object
The timestamp of the last change to the object
The timestamp of the object's creation
The timestamp of the last patch to the object
The identifier of the object
The identifier of the last editor of the object
The identifier of the owner of the object
The identifier of the creator of the object
The identifier of the organization the object belongs to
The flag indicating if the object is deleted
The username of the user.
The first name of the user.
The last name of the user.
The company of the user.
The email of the user.
The roles of the user.
The time when the password was last set.
The number of login attempts left before the account is locked.
The time when the user last logged in.
Flag to archive the user and block him from logging in.
Organization of the user.
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"_meta": {
"timestamp": 0,
"creationTimestamp": 0,
"patchTimestamp": 0,
"objectGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lastEditorGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"ownerGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"creatorGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"orgGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"deleted": true
},
"username": "string",
"firstName": "string",
"lastName": "string",
"company": "string",
"email": "string",
"roles": [
"string"
],
"passwordSetAt": "2024-06-19T07:12:35.841Z",
"loginAttemptsLeft": 0,
"lastLoginDateTime": "2024-06-19T07:12:35.841Z",
"archived": true,
"orgGuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Internal error code.
A message containing a brief description of the error.
A message containing a brief description of the error.
{
"code": 0,
"message": "string"
}