support

POST /v1/tickets/{ticketId}/messages

Reply to a support ticket.

Dhammaan support bixiyayaasha

Xaqiijinta aqoonsiga

U dir furaha API ah calaamad dusha ah (bearer token). Furaha waa inuu wataa ruqadda tickets.reply; furaha aan wadan waxaa loo diidayaa 403, ee ma aha 404.

Boggan ma qaato aqoonsiga ururka. Furahaagu wuxuu horay u aqoonsanayaa ururka uu ka tirsan yahay, jawaabtuna waxay ku kooban tahay halkaas.

Isku day

Ku beddel wax kasta oo ku dhex jira qeebaha xaglaha ah qiimayaashaada, sidoo kalena haystaaha furaha ku beddel fure ka dhex muuqda dashboordigaaga.

curl -X POST https://api.zinndigital.com/v1/tickets/{ticketId}/messages \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "body": <string> }'

Ma sign-garaysay? Qalabka API ee ku jira dashboard-kaagu wuxuu buuxiyaa aqoonsigaaga ururka ee dhabta ah iyo furahaaga gaarka ah, wuxuuna ku shaqeysiiyaa codsiga API-ga nool si aad u aragto jawaabta dhabta ah. Kani ka fur barta kontoroolka ee API

Faahfaahin

Appends a customer message and returns the thread to `open`. Replying to a `solved` ticket reopens it. A **closed** ticket is rejected with a `422` whose error code is the stable `TICKET_CLOSED`, so a client can offer "reopen" without string-matching a translated message. Requires `tickets.reply`.

Cabiraha

MagacaNoocLoo baahan yahayMaxay tahay
ticketId (path)UuidHaaThe ticket's id.

Codsiga jidhkiisa

MagacaNoocLoo baahan yahayMaxay tahay
bodystringHaa

Jawaab

MagacaNoocLoo baahan yahayMaxay tahay
idUuidHaaUUIDv7 identifier — sortable by creation time (docs/02 §8).
org_idUuidHaaUUIDv7 identifier — sortable by creation time (docs/02 §8).
subjectstringHaa
statusTicketStatusHaaWhere 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`…
priorityTicketPriorityHaaHow urgent the ticket is. The customer may propose one; staff decide.
channelstringHaaHow the ticket reached us — `dashboard`, `api` or `staff`. Server-decided; an open string so a future channel is additive on both sides.
site_idobjectMaya
invoice_idobjectMaya
on_behalf_of_org_idobjectMayaThe **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_nameobjectHaaThe 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_atobjectMaya
resolved_atobjectMaya
closed_atobjectMaya
last_message_atobjectMaya
reopened_countintegerHaa
message_countintegerHaaCustomer-visible messages in the thread — internal notes are not counted.
created_atstringHaa
updated_atstringHaa
messagesTicketMessage[]HaaThe customer-visible thread in chronological order.

Cilladaha ay bartaani soo celin karto

401 · 403 · 404 · 422 · 429