Required Scopes
This API requires one of the following scopes:tickets
Response
200 - application/json
Successful response - Get a specific ticket by its ID
The response is of type object
.
curl --request GET \
--url https://api.hubapi.com/crm-objects/v1/objects/tickets/{id}
[
{
"objectType": "TICKET",
"portalId": 62515,
"objectId": 176602,
"properties": {},
"isDeleted": false
},
{
"versions": [
{
"name": "subject",
"value": "This is an example ticket",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "This is an example ticket",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "created_by",
"value": "496346",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "496346",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "content",
"value": "These are the details of the ticket.",
"timestamp": 1522872562016,
"source": "API",
"sourceVid": []
}
],
"value": "These are the details of the ticket.",
"timestamp": 1522872562016,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "hs_pipeline",
"value": "0",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "0",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "hs_pipeline_stage",
"value": "4",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "4",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
}
]
Get a specific ticket by its ID. By default, the response will only include the ID and a few system fields for the ticket. You can get specific properties in the response by using the properties parameter in the URL, and that parameter can be included multiple times to get multiple properties. See the example for more details.
curl --request GET \
--url https://api.hubapi.com/crm-objects/v1/objects/tickets/{id}
[
{
"objectType": "TICKET",
"portalId": 62515,
"objectId": 176602,
"properties": {},
"isDeleted": false
},
{
"versions": [
{
"name": "subject",
"value": "This is an example ticket",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "This is an example ticket",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "created_by",
"value": "496346",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "496346",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "content",
"value": "These are the details of the ticket.",
"timestamp": 1522872562016,
"source": "API",
"sourceVid": []
}
],
"value": "These are the details of the ticket.",
"timestamp": 1522872562016,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "hs_pipeline",
"value": "0",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "0",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
},
{
"versions": [
{
"name": "hs_pipeline_stage",
"value": "4",
"timestamp": 1522870759430,
"source": "API",
"sourceVid": []
}
],
"value": "4",
"timestamp": 1522870759430,
"source": "API",
"sourceId": null
}
]
tickets
Successful response - Get a specific ticket by its ID
The response is of type object
.
Was this page helpful?