support

POST /v1/tickets/{ticketId}/close

Close a support ticket.

सर्व support एंडपॉइंट्स

प्रमाणीकरण

बेरर टोकन म्हणून API की पाठवा. की मध्ये tickets.reply परवानगी असणे आवश्यक आहे; ती नसलेली की 404 ऐवजी 403 सह नाकारली जाते.

या एंडपॉइंटला कोणतीही संस्था आयडी (organisation id) लागत नाही. तुमची की (key) आधीच ती कोणत्या संस्थेशी संबंधित आहे हे ओळखते आणि प्रतिसाद त्यानुसार मर्यादित केला जातो.

प्रयत्न करा

कोनसांस्कृतिक कंसात (<>) असलेली कोणतीही गोष्ट तुमच्या स्वतःच्या मूल्यांनी बदला आणि key प्लेसहोल्डरला तुमच्या डॅशबोर्डवरील किने बदला.

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

साइन इन केलेले आहे? तुमच्या डॅशबोर्डमधील API कन्सोल तुमची खरी संस्था आयडी आणि तुमची स्वतःची की आपोआप भरतो आणि लाइव्ह API विरुद्ध विनंती कार्यान्वित करतो जेणेकरून तुम्हाला वास्तविक प्रतिसाद पाहता येईल. एपी कन्सोलमध्ये हा एंडपॉइंट उघडा

तपशील

Closes the ticket. Idempotent — closing an already-closed ticket returns it unchanged rather than erroring. Requires `tickets.reply`.

पॅरामीटर्स

नावप्रकारआवश्यकहे काय आहे
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 `404`d 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 staff-…
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