Localizado por IA

Reenviar email

const response = await fetch('https://api.emailit.com/v2/emails/em_abc123xyz789def456/retry', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer em_test_51RxCWJ...vS00p61e0qRE',
    'Content-Type': 'application/json'
  }
});

const result = await response.json();

Respostas

{
  "object": "email",
  "id": "em_new789xyz456abc123",
  "original_id": "em_abc123xyz789def456",
  "status": "pending",
  "message": "Email foi adicionado à fila para reenvio"
}