get https://{subdomain}.kommo.com/api/v4/events/
This method allows getting a particular event data by its ID.
Limitations
The method is available for all account users. The returned data depends on the user’s rights for the entity.
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
Response parameters
The method returns an event object.
Parameter | Data type | Description |
---|---|---|
id | string | Event ID |
type | string | Event type |
entity_id | int | ID of the entity the event belongs to |
entity_type | string | Type of the entity the event belongs to |
created_by | int | ID of the user who created the event |
created_at | int | Event creation date in the Unix Timestamp format |
value_after | array | An array of the event changes. |
value_before | array | An array of the event changes. |
account_id | int | Account ID where the event is located in |
WITH parameters
Parameter | Description |
---|---|
contact_name | If event belongs to a contact, you will receive the contact’s name as well as the ID in the response |
lead_name | If event belongs to a lead, you will receive the lead’s name as well as the ID in the response |
company_name | If event belongs to a company, you will receive the company’s name as well as the ID in the response |
catalog_name | If event belongs to a list element, you will receive the list’s name as well as the ID in the response |
catalog_element_name | If event belongs to a list element, you will receive the list’s name as well as the ID in the response |