Sendexa LogoDocs

Resend SMS

Retry failed SMS messages intelligently with preserved original content, sender ID, and recipient information. Credits only deducted on successful delivery.

Resend Strategy Tutorial (2:45 mins)
How to implement smart retry logic for failed SMS
2:45

Original Message Preserved

Resend with exact same sender ID, content, and recipient - no reconfiguration needed

Credit Safety

Credits only deducted on successful retry - failed resends don't cost you

Smart Retry Logic

Automatic retry scheduling with configurable intervals and max attempts

Resend Analytics

Track resend success rates and identify problematic messages

Resend Success Rate

78%

First retry success rate

Avg Retry Time

3.2m

From failure to success

Max Retries

5

Per message lifetime

Expiry Window

48h

Message valid for retry

POST
/v1/sms/resend
Retry
Idempotent

Request Body

application/json
{
"messageId": "exa_api_123456789_abc123def",
"smsId": "clxyz123abc"
}

Response

{
"success": true,
"message": "SMS resent successfully",
"data": {
"messageId": "exa_resend_123456789_xyz789",
"originalMessageId": "exa_api_123456789_abc123def",
"status": "delivered",
"recipient": "233555539152",
"senderId": "YourBrand",
"segments": 1,
"cost": 1,
"resendAttempt": 2,
"deliveredAt": "2024-01-15T10:35:00Z"
}
}

Recommended Retry Strategy

1
1 minute

Initial retry after failure

2
5 minutes

Second attempt with longer delay

3
15 minutes

Third attempt

4
30 minutes

Fourth attempt

5
1 hour

Final attempt before expiry

When to Resend

Network Failure

Carrier temporarily unavailable - automatic retry recommended

Queue Timeout

Message expired in queue - manual resend required

Provider Rejection

Check error code before resending

Implementation Examples

curl -X POST 'https://api.sendexa.co/v1/sms/resend' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic YOUR_BASE64_CREDENTIALS' \
-d '{
"messageId": "exa_api_123456789_abc123def"
}'

Resend Success Rates by Attempt

Attempt 1
78%
Attempt 2
65%
Attempt 3
42%
Attempt 4
23%
Attempt 5
12%