प्रमाणन

बेरर टोकन के रूप में एक API कुंजी भेजें। कुंजी के पास tickets.view अनुमति होनी चाहिए; इसके बिना एक कुंजी को 404 के बजाय 403 के साथ अस्वीकार कर दिया जाता है।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

curl -X GET https://api.zinndigital.com/v1/tickets/{ticketId} \
  -H "Authorization: Bearer zdk_live_…"

साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें

विवरण

One ticket in scope with its full message thread in chronological order. Staff-internal notes are not included — they are excluded by the query and never reach this surface. Requires tickets.view.

पैरामीटर

नामप्रकारआवश्यकयह क्या है
ticketId (path)UuidहाँThe ticket's id.

प्रतिक्रिया

नामप्रकारआवश्यकयह क्या है
idUuidहाँUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidहाँUUIDv7 identifier — sortable by creation time (docs/02 §8).
subjectstringहाँ
statusTicketStatusहाँWhere a ticket sits in its lifecycle. open = waiting on us; pending = waiting on the customer; solved = we believe it is resolved and a customer reply reopens it; closed =…
priorityTicketPriorityहाँHow urgent the ticket is. The customer may propose one; staff decide.
channelstringहाँHow the ticket reached us — dashboard, api or staff. Server-decided; an open string so a future channel is additive on both sides.
site_idobjectनहीं
invoice_idobjectनहीं
on_behalf_of_org_idobjectनहींThe client org a reseller opened this ticket about. Null on every ordinary ticket. ⛔ Validated as a descendant of the ticket's own org and 404d otherwise, so it can never…
assignee_nameobjectहाँThe owning agent's display name (first name), or null while unassigned. The customer sees a name so they know a person owns their ticket; the agent's id and email are…
first_response_atobjectनहीं
resolved_atobjectनहीं
closed_atobjectनहीं
last_message_atobjectनहीं
reopened_countintegerहाँ
message_countintegerहाँCustomer-visible messages in the thread — internal notes are not counted.
created_atstringहाँ
updated_atstringहाँ
messagesTicketMessage[]हाँThe customer-visible thread in chronological order.

त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है

401 · 403 · 404 · 429