GET
/
crm-objects
/
v1
/
objects
/
tickets
/
{id}
Get a ticket by ID
curl --request GET \
  --url https://api.hubapi.com/crm-objects/v1/objects/tickets/{id}
"\nExample GET URL:\nhttps://api.hubapi.com/crm-objects/v1/objects/tickets/176602\n\nExample response:\n{\n  \"objectType\": \"TICKET\",\n  \"portalId\": 62515,\n  \"objectId\": 176602,\n  \"properties\": {},\n  \"isDeleted\": false\n}\n\nExample GET with properties:\nhttps://api.hubapi.com/crm-objects/v1/objects/tickets/176602?properties=subject&properties=content&properties=created_by&properties=hs_pipeline&properties=hs_pipeline_stage\n\nExample response:\n{\n  \"objectType\": \"TICKET\",\n  \"portalId\": 62515,\n  \"objectId\": 176602,\n  \"properties\": {\n    \"subject\": {\n      \"versions\": [\n        {\n          \"name\": \"subject\",\n          \"value\": \"This is an example ticket\",\n          \"timestamp\": 1522870759430,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"This is an example ticket\",\n      \"timestamp\": 1522870759430,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"created_by\": {\n      \"versions\": [\n        {\n          \"name\": \"created_by\",\n          \"value\": \"496346\",\n          \"timestamp\": 1522870759430,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"496346\",\n      \"timestamp\": 1522870759430,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"content\": {\n      \"versions\": [\n        {\n          \"name\": \"content\",\n          \"value\": \"These are the details of the ticket.\",\n          \"timestamp\": 1522872562016,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"These are the details of the ticket.\",\n      \"timestamp\": 1522872562016,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"hs_pipeline\": {\n      \"versions\": [\n        {\n          \"name\": \"hs_pipeline\",\n          \"value\": \"0\",\n          \"timestamp\": 1522870759430,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"0\",\n      \"timestamp\": 1522870759430,\n      \"source\": \"API\",\n      \"sourceId\": null\n    },\n    \"hs_pipeline_stage\": {\n      \"versions\": [\n        {\n          \"name\": \"hs_pipeline_stage\",\n          \"value\": \"4\",\n          \"timestamp\": 1522870759430,\n          \"source\": \"API\",\n          \"sourceVid\": []\n        }\n      ],\n      \"value\": \"4\",\n      \"timestamp\": 1522870759430,\n      \"source\": \"API\",\n      \"sourceId\": null\n    }\n  },\n  \"isDeleted\": false\n}"

Response

200 - application/json

Successful response - Get a specific ticket by its ID

The response is of type object.