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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;ticket&quot;:{&quot;assignee_id&quot;:235323,&quot;collaborator_ids&quot;:[35334,234],&quot;created_at&quot;:&quot;2009-07-20T22:55:29Z&quot;,&quot;custom_fields&quot;:[{&quot;id&quot;:27642,&quot;value&quot;:&quot;745&quot;},{&quot;id&quot;:27648,&quot;value&quot;:&quot;yes&quot;}],&quot;custom_status_id&quot;:123,&quot;description&quot;:&quot;The fire is very colorful.&quot;,&quot;due_at&quot;:null,&quot;external_id&quot;:&quot;ahg35h3jh&quot;,&quot;follower_ids&quot;:[35334,234],&quot;group_id&quot;:98738,&quot;has_incidents&quot;:false,&quot;id&quot;:35436,&quot;organization_id&quot;:509974,&quot;priority&quot;:&quot;high&quot;,&quot;problem_id&quot;:9873764,&quot;raw_subject&quot;:&quot;{{dc.printer_on_fire}}&quot;,&quot;recipient&quot;:&quot;support@company.com&quot;,&quot;requester_id&quot;:20978392,&quot;satisfaction_rating&quot;:{&quot;comment&quot;:&quot;Great support!&quot;,&quot;id&quot;:1234,&quot;score&quot;:&quot;good&quot;},&quot;sharing_agreement_ids&quot;:[84432],&quot;status&quot;:&quot;open&quot;,&quot;subject&quot;:&quot;Help, my printer is on fire!&quot;,&quot;submitter_id&quot;:76872,&quot;tags&quot;:[&quot;enterprise&quot;,&quot;other_tag&quot;],&quot;type&quot;:&quot;incident&quot;,&quot;updated_at&quot;:&quot;2011-05-05T10:38:52Z&quot;,&quot;url&quot;:&quot;https://company.zendesk.com/api/v2/tickets/35436.json&quot;,&quot;via&quot;:{&quot;channel&quot;:&quot;web&quot;}}}