GET
/
crm-objects
/
v1
/
change-log
/
tickets
Get a log of changes for tickets
curl --request GET \
  --url https://api.hubapi.com/crm-objects/v1/change-log/tickets
"\nExample GET URL:\nhttps://api.hubapi.com/crm-objects/v1/change-log/tickets\n\nExample response:\n[\n  {\n    \"timestamp\": 1525297495553,\n    \"changeType\": \"CHANGED\",\n    \"objectId\": 176602,\n    \"changes\": {\n      \"changedProperties\": [\n        \"hs_lastmodifieddate\",\n        \"content\",\n        \"status\"\n      ],\n      \"newAssociations\": [],\n      \"removedAssociations\": [],\n      \"newListMemberships\": [],\n      \"removedListMemberships\": []\n    }\n  },\n  {\n    \"timestamp\": 1525297514887,\n    \"changeType\": \"CHANGED\",\n    \"objectId\": 176602,\n    \"changes\": {\n      \"changedProperties\": [\n        \"hs_lastmodifieddate\",\n        \"content\",\n        \"status\"\n      ],\n      \"newAssociations\": [],\n      \"removedAssociations\": [],\n      \"newListMemberships\": [],\n      \"removedListMemberships\": []\n    }\n  },\n  {\n    \"timestamp\": 1525298220133,\n    \"changeType\": \"CHANGED\",\n    \"objectId\": 194042,\n    \"changes\": {\n      \"changedProperties\": [\n        \"hs_lastmodifieddate\",\n        \"subject\",\n        \"created_by\"\n      ],\n      \"newAssociations\": [],\n      \"removedAssociations\": [],\n      \"newListMemberships\": [],\n      \"removedListMemberships\": []\n    }\n  }\n]\n\nRequest URL for the next request,to only get items that changed\nafter the most recent change in the previous request:\nhttps://api.hubapi.com/crm-objects/v1/change-log/tickets?timestamp=1525298220133&changeType=CHANGED&objectId=194042\n\nExample response:\n[\n  {\n    \"timestamp\": 1525298357009,\n    \"changeType\": \"CREATED\",\n    \"objectId\": 217650,\n    \"changes\": {\n      \"changedProperties\": [\n        \"hs_lastmodifieddate\",\n        \"subject\",\n        \"createdate\",\n        \"source_type\",\n        \"created_by\",\n        \"content\",\n        \"status\"\n      ],\n      \"newAssociations\": [],\n      \"removedAssociations\": [],\n      \"newListMemberships\": [],\n      \"removedListMemberships\": []\n    }\n  }\n]\n\nNext request URL:\nhttps://api.hubapi.com/crm-objects/v1/change-log/tickets?timestamp=1525298357009&changeType=CREATED&objectId=217650\n"

Response

200 - application/json

Successful response - Create a new ticket

The response is of type object.