DeltaVelocity

Support tickets

Raise and follow the support tickets your brand sees in the dashboard Dispute Tracker. Reads need the opt-in tickets:read scope. Writes need the separate opt-in tickets:write scope, which does not include reads.

Find a ticket

Page through GET /v1/tickets (scope tickets:read), newest first. Filter by status (Raised, Under Review, Action Required, Resolved or Closed) and by a creation window of at most 92 days: created_from is inclusive and created_to exclusive. Ticket ids are DV ids, never helpdesk ids.

Every ticket carries a sync_state. It is synced once the support desk has the ticket and everything that goes with it (the files, the AWB disputes, the notification), and pending until then. It is failed when the background sync gave up or the support desk never took the ticket, which also covers a ticket raised before the sync existed that has no support desk record; contact support with the ticket_id. A ticket whose support desk entry does not exist yet cannot be updated, replied to or closed (409 conflict), and its AWB disputes are not open.

On a billing ticket, dispute_counts says how many of its AWB disputes finance has decided: decided of total, with open, waiting_for_finalization (open, waiting for the courier invoice to be finalized) and withdrawn (not counted in total). It is null on any other ticket.

Read a ticket and its messages

GET /v1/tickets/{ticket_id} (scope tickets:read) returns the description, who raised it, the AWBs it names, the names of the files attached when it was raised and, on a billing ticket, each AWB dispute with its status. Read a dispute's amount and decision with billing.disputes.get under billing:read, using its dispute_id.

GET /v1/tickets/{ticket_id}/threads (scope tickets:read) pages the ticket's activity, newest first. The opening description is on the ticket, not repeated here. direction is outbound for your brand and inbound for the support team. Attachments are listed by file name; download them from the dashboard.

Another brand's ticket returns 404, exactly like a missing one.

Choose a category

GET /v1/tickets/categories (scope tickets:read) lists each category with its subcategories and the fields each subcategory asks for, with their requirement. Use it to pick the category and fill the fields when you raise a ticket.

Raise a ticket

  1. Read GET /v1/tickets/categories (scope tickets:read) and pick a category_id and one of its subcategory_id values.
  2. Fill required_fields with a value for each field the subcategory lists. A field whose requirement is required must be filled, or the request returns 422. Use the field name exactly as listed.
  3. Send POST /v1/tickets (scope tickets:write).
{
  "subject": "Weight dispute on SYN00004242",
  "category_id": 7,
  "subcategory_id": 47,
  "description": "The courier charged for 1.5 kg; the parcel weighs 0.5 kg.",
  "required_fields": { "AWB Number": "SYN00004242, SYN00004243" }
}

The response is 201 with the ticket, as GET /v1/tickets/{ticket_id} returns it, plus attachments_pending and pending. A billing ticket opens an AWB dispute for each valid AWB it names, either in a field or in an attached file named AWBs Details (.csv or .xlsx). Text is sent to support as plain text, so markup is not rendered.

Attach files

Add up to five attachments, each with a filename, a content_type and the file as content_base64. Accepted types are PDF, PNG, JPEG, CSV, plain text, XLSX and XLS. The size limit is on the files together and depends on the surface:

SurfaceFiles per requestFile bytes in total
/v155 MiB
MCP and code mode532 KiB

Base64 makes the encoded text a third larger than the limit. Over MCP, raise a ticket with the details in text and add larger files through /v1 or the dashboard. A refused file is rejected before the support desk is called.

Update, reply and close

  • PATCH /v1/tickets/{ticket_id} (scope tickets:write) changes the description, replaces the field values or attaches files. required_fields replaces the stored values, so send every field you want to keep. A billing ticket opens a dispute for each newly named valid AWB.
  • POST /v1/tickets/{ticket_id}/replies (scope tickets:write) posts a message that your brand reads back in the ticket's threads, newest first.
  • POST /v1/tickets/{ticket_id}/close (scope tickets:write) closes the ticket. Its open AWB disputes are withdrawn first; disputes already decided keep their outcome.
{ "content": "Attached is the weighbridge slip.", "attachments": [] }

Each write returns the ticket, or for a reply the new thread message. A ticket that has not yet reached the support desk answers 409 conflict; retry after a moment with the same Message-Id.

When the support desk does not confirm

The ticket is saved before the support desk is called, so a slow or failed answer never loses it. Whatever the request has no time for is finished in the background, so you never send it again.

  • 201 with pending. The support desk has the ticket. pending lists what the background sync still has to do (attachments, awb_disputes, notification), and attachments_pending names the files not yet at the support desk. Both are empty when everything is done. sync_state is synced when it is.
  • 202 with sync_state: "pending". The ticket is saved with its ticket_id, but the support desk has not confirmed it. It may still arrive, and the background sync settles it: it looks for the ticket at the support desk before it ever creates one. Read it with GET /v1/tickets/{ticket_id} and do not raise it again. Sending the same Message-Id returns this answer. pending starts with support_desk until the ticket is there.
  • failed. If the background sync gives up (the support desk keeps refusing the ticket, or never took it), sync_state is failed. Contact support with the ticket_id.
  • A file the support desk refuses. It is dropped from attachments_pending and never sent again; the rest of the ticket carries on. Send it again with PATCH /v1/tickets/{ticket_id} if it matters.
  • 422 ticket-rejected. The support desk refused the ticket and nothing was saved. Fix the request and send it again with a new Message-Id; the same Message-Id replays this answer.
  • 503 support-desk-unavailable. The support desk could not take the ticket for now, and nothing was saved. Wait for Retry-After seconds and send the same request again with the same Message-Id: a 503 is not stored, so the retry runs.

Retry safely

Send a unique Message-Id with every ticket write, and reuse it, with the same body, when you retry after a timeout. A completed request replays its first answer with Message-Id-Replayed: true instead of raising a second ticket or posting a second reply. See Retries and pagination for the full rules.

Through MCP

tickets.create, tickets.update, tickets.reply and tickets.close need tickets:write, and tickets.categories needs tickets:read. Each write takes an operation_id, which is its idempotency key, and asks you to review the exact change and confirm before it reaches support. Approval applies only to the category, subject, AWBs and attachments shown.

The receipt of a write says what happened:

ReceiptMeaningWhat to do
completedThe change reached support.Read it with tickets.get.
completed with pending and attachments_pendingThe ticket reached support. The files, AWB disputes or notification named here are finished in the background. Both are always present, and empty when nothing is left.Read it with tickets.get; sync_state becomes synced when they are done.
pending with an unknown effectThe support desk may or may not have the ticket, or the request ran out of time. The receipt names the saved ticket_id whenever the ticket was saved.Read it with tickets.get; never rerun the same operation_id. The background sync settles it.
failed with rejected_before_effectsSupport refused it and nothing was saved.Fix the input and retry under a new operation_id.
unattempted with support-desk-unavailableSupport could not take it for now and nothing was saved.Rerun the same operation_id and step_id shortly.