Mark a failed message as sent again
POST
/v1/messages/:id/resent-outsideWrite API
Records that you sent a failed message to the customer again yourself (from the phone, WhatsApp Web, another tool). The inbox then shows it as sent again outside WA Smart Sender instead of a red failure; the original error stays on the message. Nothing is sent. Only a failed message you sent can be marked: any other message returns 409. Marking a message twice is safe and returns the first mark. An unknown message, or one from another workspace, returns 404.
Permission: conversations:write · 120 requests / minute
Path parameters
- idstringRequired
- Our message id from GET /v1/messages/failed.
Request body
- sentAtstringOptional
- When you sent it again (ISO 8601). Default now.
- channelstringOptional
- Where you sent it again, for example wassender. Up to 40 characters. Default external.
- externalIdstringOptional
- Your own id for the resend. Up to 120 characters.
curl -X POST "https://public-api.wsmartsender.com/v1/messages/667f1a2b3c4d5e6f7a8b9c0d/resent-outside" \
-H "X-Api-Key: wss_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"channel": "wassender",
"externalId": "wa-web-8841"
}'Response fields200
{ messageId, resentOutside: { at, source: "api", channel, externalId, echoMessageId } }