Docs

POST /support/{ref}/resolve

Mark a support request resolved.

Parameters

  • ref path · string · required
  • Idempotency-Key header · string · optionalMakes this call safe to retry. Send the same key with the same body and the original response is replayed instead of the work happening twice. Keys are 1-256 characters and are remembered for 7 days. While the first attempt is still running, a second call with that key returns 409 idempotency_in_flight (Resend calls this concurrent_idempotent_requests); the same key with a different body returns 409 idempotency_payload_mismatch (Resend: invalid_idempotent_request).

Responses

  • 201 Success
  • 400 Validation error
  • 401 Missing API key
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 429 Rate limited
  • 500 Internal server error

Response headers

  • ratelimit-limit — Messages this API key may spend in one 60-second window.
  • ratelimit-remaining — Messages left in the current window.
  • ratelimit-reset — Seconds until the current window resets and the budget refills.

201 body

FieldTypeRequiredNotes
can_reopenbooleanyes
closed_atstring | nullyes
created_atstringyes
csat_scoreinteger | nullyes
has_unread_replybooleanyes
idstringyes
last_message_atstringyes
last_message_previewstringyes
message_countintegeryes
messagesarray<object>yes
messages[].attachmentsarray<object>yes
messages[].author_namestringyes
messages[].author_type"customer" | "operator" | "system"yes
messages[].body_htmlstring | nullyes
messages[].body_textstringyes
messages[].channel"form" | "email" | "mcp" | "admin"yes
messages[].created_atstringyes
messages[].idstringyes
messages[].ticket_idstringyes
messages[].visibility"public" | "internal" | "system"yes
refintegeryes
ref_labelstringyes
related_idstring | nullyes
related_typestring | nullyes
resolved_atstring | nullyes
status"open" | "waiting_on_us" | "waiting_on_customer" | "resolved" | "closed"yes
status_labelstringyes
subjectstringyes
topic"sending" | "domains" | "deliverability" | "guardrails_and_limits" | "trust_and_appeals" | "webhooks" | …yes
updated_atstringyes

Errors

Codes in the catalogue that answer with one of this operation’s error statuses. Every one of them carries a fix.