Skip to main content
POST
/
api
/
e2
/
emails
/
{id}
/
retry
JavaScript
import Inbound from 'inboundemail';

const client = new Inbound({
  apiKey: process.env['INBOUND_API_KEY'], // This is the default and can be omitted
});

const response = await client.emails.retry('id');

console.log(response.delivery_id);
{
  "success": true,
  "message": "<string>",
  "delivery_id": "<string>"
}

Authorizations

Authorization
string
header
required

Your Inbound API key. Include it in the Authorization header as: Bearer

Path Parameters

id
string
required

Body

endpoint_id
string

Endpoint ID to retry delivery to. If not provided, retries to all configured endpoints.

delivery_id
string

Specific delivery ID to retry. If provided, retries that specific delivery.

Response

Response for status 200

success
boolean
required
message
string
required
delivery_id
string