Skip to main content
PUT
/
crm-objects
/
v1
/
objects
/
tickets
/
{id}
Update a ticket
curl --request PUT \
  --url https://api.hubapi.com/crm-objects/v1/objects/tickets/{id}
[
  {
    "name": "hs_ticket_priority",
    "value": "HIGH"
  },
  {
    "name": "content",
    "value": "This is now an updated ticket marked as high priority."
  },
  {
    "versions": [
      {
        "name": "hs_lastmodifieddate",
        "value": "0",
        "timestamp": 0,
        "source": "CALCULATED",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "CALCULATED",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "hs_ticket_priority",
        "value": "HIGH",
        "timestamp": 1560173981204,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "HIGH",
    "timestamp": 1560173981204,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "content",
        "value": "This is now an updated ticket marked as high priority.",
        "timestamp": 1522872562016,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "This is now an updated ticket marked as closed.",
    "timestamp": 1522872562016,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "status",
        "value": "CLOSED",
        "timestamp": 1522872562016,
        "source": "API",
        "sourceVid": []
      },
      {
        "name": "status",
        "value": "CLOSED",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "CLOSED",
    "timestamp": 1522872562016,
    "source": "API",
    "sourceId": null
  }
]

Response

200 - application/json

Successful response - Get all tickets from a portal, up to 100 per request

The response is of type object.

Last modified on December 12, 2025