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>"
}Retry delivery of a received email. Can retry to a specific endpoint, retry a specific failed delivery, or retry to all configured endpoints.
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>"
}Your Inbound API key. Include it in the Authorization header as: Bearer
Was this page helpful?