Agent Object
Contains detailed information about the agent associated with the event. This includes both the agent’s core details and the user account information linked to the agent.
Table of Agent Object
Value Name | Description | Value Type |
---|---|---|
id | Unique identifier for the agent within the system. | integer |
user_id | The identifier for the user linked to the agent, usually representing the specific user account. | integer |
company_id | The identifier of the company the agent is associated with. | integer |
manager_id | Identifier for the agent's manager. If 0, it indicates that no manager is assigned. | integer |
project_manager_id | Identifier for the project manager associated with the agent. If 0, no project manager is assigned. | integer |
created_at | Timestamp for when the agent was created in the system. | string |
updated_at | Timestamp for when the agent’s information was last updated. | string |
deleted_at | Timestamp for when the agent was deleted. If null, the agent is still active. | string |
user | Contains information about the user associated with the agent, including personal details, contact information, and metadata related to system permissions and settings. | object |
Example of Agent Object
"agent": {
"id": 0000,
"user_id": 0000,
"company_id": 0000,
"manager_id": 0,
"project_manager_id": 0,
"created_at": "2023-01-23 23:45:34",
"updated_at": "2023-01-23 23:45:34",
"deleted_at": null,
"user": {
"id": 0000,
"first_name": "Enerflo",
"last_name": "Admin",
"email": "[email protected]",
"valid_email": 1,
"phone": "1111111111",
"user_type": "",
"meta_data": {
"inactive": "0",
"solo_email": "[email protected]",
"intercom_id": "123abc456def789",
"aurora_email": null,
"is_view_only": "0",
"allow_optimus": "1",
"notifications": {
"dealFeedEmail": "1"
},
"valid_email_ts": "2024-07-17 23:53:39",
"has_valid_email": 1,
"solo_email_3104": "[email protected]",
"sales_rep_license": null,
"can_create_customers": "1",
"primary_sms_supported": 0,
"can_create_manual_installs": "1",
"create_update_change_order": "1"
},
"timezone": "America/New_York",
"force_logout": 0,
"created_at": "2023-01-13 19:54:05",
"updated_at": "2024-07-17 23:53:39",
"deleted_at": null,
"invite_expires": null,
"invite_token": null,
"is_active": 1,
"intercom_hash": "123456abcdef789"
}
}
Updated 3 months ago