Skip to main content
POST
/
crm-objects
/
v1
/
objects
/
tickets
Create a ticket
curl --request POST \
  --url https://api.hubapi.com/crm-objects/v1/objects/tickets
[
  {
    "name": "subject",
    "value": "This is an example ticket"
  },
  {
    "name": "content",
    "value": "Here are the details of the ticket."
  },
  {
    "name": "hs_pipeline",
    "value": "0"
  },
  {
    "name": "hs_pipeline_stage",
    "value": "1"
  },
  {
    "versions": [
      {
        "name": "hs_lastmodifieddate",
        "value": "0",
        "timestamp": 0,
        "source": "CALCULATED",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "CALCULATED",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "subject",
        "value": "This is an example ticket",
        "timestamp": 1522862571921,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "This is an example ticket",
    "timestamp": 1522862571921,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "hs_pipeline",
        "value": "0",
        "timestamp": 1522862571921,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 1535746946950,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "createdate",
        "value": "0",
        "timestamp": 0,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "content",
        "value": "Here are the details of the ticket.",
        "timestamp": 1522862571921,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "Here are the details of the ticket.",
    "timestamp": 1522862571921,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "hs_pipeline_stage",
        "value": "1",
        "timestamp": 1522862571921,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "1",
    "timestamp": 1522862571921,
    "source": "API",
    "sourceId": ""
  },
  {
    "versions": [
      {
        "name": "time_to_close",
        "value": "",
        "timestamp": 1535746947086,
        "source": "CALCULATED",
        "sourceVid": [],
        "sourceMetadata": ""
      }
    ],
    "value": "",
    "timestamp": 1535746947086,
    "source": "CALCULATED",
    "sourceId": null
  }
]

Response

200 - application/json

Successful response - Update a group of existing tickets

The response is of type object.

Last modified on December 12, 2025