Ticket Bulk Import
POST {{baseUrl}}/api/v2/imports/tickets/create_many?archive_immediately=<boolean>
Accepts an array of up to 100 ticket objects.
Allowed For
- Admins
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
archive_immediately | string | If true , any ticket created with a closed status bypasses the normal ticket lifecycle and will be created directly in your ticket archive |
Request Body
{"tickets"=>[{"assignee_id"=>"<integer>", "comments"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "description"=>"<string>", "requester_id"=>"<integer>", "subject"=>"<string>", "tags"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"assignee_id"=>"<integer>", "comments"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "description"=>"<string>", "requester_id"=>"<integer>", "subject"=>"<string>", "tags"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"job_status":{"id":"82de0b044094f0c67893ac9fe64f1a99","message":"Completed at 2018-03-08 10:07:04 +0000","progress":2,"results":[{"action":"update","id":244,"status":"Updated","success":true},{"action":"update","id":245,"status":"Updated","success":true}],"status":"completed","total":2,"url":"https://example.zendesk.com/api/v2/job_statuses/82de0b0467893ac9fe64f1a99.json"}}