Skip to main content
POST
/
crm-objects
/
v1
/
objects
/
tickets
/
batch-create
Create a group of tickets
curl --request POST \
  --url https://api.hubapi.com/crm-objects/v1/objects/tickets/batch-create
[
  {
    "name": "source_type",
    "value": "TWITTER_DM"
  },
  {
    "name": "status",
    "value": "OPEN"
  },
  {
    "name": "created_by",
    "value": "496346"
  },
  {
    "name": "subject",
    "value": "This is another example ticket"
  },
  {
    "name": "source_type",
    "value": "FORM"
  },
  {
    "name": "status",
    "value": "CLOSED"
  },
  {
    "name": "created_by",
    "value": "496346"
  },
  {
    "name": "subject",
    "value": "Yet anotherexample ticket"
  },
  {
    "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 another example ticket",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "This is another example ticket",
    "timestamp": 1522870759430,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "createdate",
        "value": "0",
        "timestamp": 0,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "source_type",
        "value": "TWITTER_DM",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "TWITTER_DM",
    "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": "status",
        "value": "OPEN",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "OPEN",
    "timestamp": 1522870759430,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "hs_lastmodifieddate",
        "value": "0",
        "timestamp": 0,
        "source": "CALCULATED",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "CALCULATED",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "subject",
        "value": "Yet anotherexample ticket",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "Yet anotherexample ticket",
    "timestamp": 1522870759430,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "createdate",
        "value": "0",
        "timestamp": 0,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "0",
    "timestamp": 0,
    "source": "API",
    "sourceId": null
  },
  {
    "versions": [
      {
        "name": "source_type",
        "value": "FORM",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "FORM",
    "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": "status",
        "value": "CLOSED",
        "timestamp": 1522870759430,
        "source": "API",
        "sourceVid": []
      }
    ],
    "value": "CLOSED",
    "timestamp": 1522870759430,
    "source": "API",
    "sourceId": null
  }
]

Response

200 - application/json

Successful response - Delete a group of existing tickets

The response is of type object.

Last modified on December 12, 2025