Lokalisiert durch KI

Update scheduled email

const response = await fetch('https://api.emailit.com/v2/emails/em_abc123xyz789def456', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer em_test_51RxCWJ...vS00p61e0qRE',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    scheduled_at: '2026-01-10T15:00:00Z'
  })
});

const result = await response.json();

Using natural language

curl -X POST https://api.emailit.com/v2/emails/em_abc123xyz789def456 \
  -H "Authorization: Bearer em_test_51RxCWJ...vS00p61e0qRE" \
  -H "Content-Type: application/json" \
  -d '{
    "scheduled_at": "tomorrow at 3pm"
  }'

Responses

{
  "object": "email",
  "id": "em_abc123xyz789def456ghi012jkl345",
  "status": "scheduled",
  "scheduled_at": "2026-01-10T15:00:00.000Z",
  "updated_at": "2026-01-08T12:00:00.123456Z",
  "message": "Email schedule has been updated successfully"
}