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
  }
]

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.