Idempotency-Key header. Generate a unique value for each logical action and reuse that same value and request body for every retry.
Partner message and inquiry writes support idempotency. Creator message, create-proposal, and counter-proposal writes support it. Naturally idempotent accept, decline, reject, and mark-as-read operations do not need the header.