Get a ticket by ID
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
}
]v1
Get a ticket by ID
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.
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}[
{
"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
}
]Scope requirements
Scope requirements
レスポンス
200 - application/json
Successful response - Get a specific ticket by its ID
The response is of type object.
最終更新日 2026年4月13日
⌘I