Create Ticket
POST {{baseUrl}}/api/v2/tickets
Request Body
{"ticket"=>{"comment"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "additional_collaborators"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "assignee_email"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "assignee_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "attribute_value_ids"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "collaborator_ids"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "custom_fields"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "custom_status_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "due_at"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "email_ccs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "external_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "followers"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "group_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "organization_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "priority"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "problem_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "requester_id"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "safe_update"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "sharing_agreement_ids"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "status"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "subject"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "tags"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "updated_stamp"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "brand_id"=>"<integer>", "collaborators"=>"<array>", "email_cc_ids"=>"<array>", "follower_ids"=>"<array>", "macro_ids"=>"<array>", "raw_subject"=>"<string>", "recipient"=>"<string>", "submitter_id"=>"<integer>", "ticket_form_id"=>"<integer>", "via"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "via_followup_source_id"=>"<integer>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"ticket":{"assignee_id":235323,"collaborator_ids":[35334,234],"created_at":"2009-07-20T22:55:29Z","custom_fields":[{"id":27642,"value":"745"},{"id":27648,"value":"yes"}],"custom_status_id":123,"description":"The fire is very colorful.","due_at":null,"external_id":"ahg35h3jh","follower_ids":[35334,234],"group_id":98738,"has_incidents":false,"id":35436,"organization_id":509974,"priority":"high","problem_id":9873764,"raw_subject":"{{dc.printer_on_fire}}","recipient":"support@company.com","requester_id":20978392,"satisfaction_rating":{"comment":"Great support!","id":1234,"score":"good"},"sharing_agreement_ids":[84432],"status":"open","subject":"Help, my printer is on fire!","submitter_id":76872,"tags":["enterprise","other_tag"],"type":"incident","updated_at":"2011-05-05T10:38:52Z","url":"https://company.zendesk.com/api/v2/tickets/35436.json","via":{"channel":"web"}}}