Users
Get user by Id
get/1.0/users/{userId}
Request
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdinteger required
The user's unique, system-generated identifier, which can be used to identify the user globally.
Query parameters
includeFieldsstring[]
This query parameter allows you to specify which fields should be returned in the response body by selecting from the drop down. To get the relevant fields, use comma separated values. If the field is left blank, the default properties are returned.
includeAllFieldsboolean
Example:true
This query parameter allows you to specify if all the fields should be returned in the response body. If the field is left blank, the default properties are returned.
Response
The requested action was successfully executed.
Example response
{
"userId": 201,
"email": "johndoe@rocketlane.com",
"firstName": "John",
"lastName": "Doe",
"type": "TEAM_MEMBER",
"status": "ACTIVE",
"role": {
"roleId": 136,
"roleName": "Customer Success"
},
"company": {
"companyId": 116,
"companyName": "Modert"
},
"permission": {
"permissionId": 933,
"permissionName": "Account Admin"
},
"fields": [
{
"fieldId": 201,
"fieldLabel": "MRR",
"fieldValue": "1000",
"fieldValueLabel": "1000"
}
],
"capacityInMinutes": 2400,
"holidayCalendar": {
"calenderId": 93,
"calenderName": "India Holiday Calendar"
},
"profilePictureUrl": "https://s3.amazonaws.com/rocketlane-profile-pic-public/_default/ftue/John.jpg",
"createdAt": 1681319726000,
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedAt": 1681319726000,
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.