Companies
Get company by Id
Changed onget/1.0/companies/{companyId}
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
companyIdinteger required
The company's unique, system-generated identifier, which can be used to identify the company globally.
Query parameters
includeFieldsstring[]
Use this query parameter to opt in for companies to be returned in the response body. Use comma separated values to fetch the respective fields. If left blank, 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
{
"companyId": 201,
"companyName": "Acme Inc",
"companyUrl": "https://www.acme.com",
"visibility": "EVERYONE",
"createdAt": 1681319726000,
"updatedAt": 1681319726000,
"createdBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"updatedBy": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"description": "Leading software development partner for enterprise solutions",
"accountOwner": {
"emailId": "john.doe@rocketlane.com",
"userId": 201,
"firstName": "John",
"lastName": "Doe"
},
"fields": [
{
"fieldId": 201,
"fieldLabel": "MRR",
"fieldValue": "1000",
"fieldValueLabel": "1000"
}
],
"notes": [
{
"noteId": 1,
"fieldId": 44,
"fieldLabel": "Account Notes",
"noteTitle": "Q1 Planning Discussion",
"noteText": "Initial contact: discussed Q1 roadmap and pricing",
"tags": [
{
"tagId": 1,
"label": "sales",
"color": "blue"
}
],
"createdAt": 1750343334605,
"updatedAt": 1750343334570
}
]
}Changes
- info
endpoint added
- info