Best send time

Resolve by timezone

curl -s -X POST "https://api.live-direct-marketing.online/api/best-send-time" \
  -H "Authorization: Bearer $LDM_KEY" -H "Content-Type: application/json" \
  -d '{"timezone":"Europe/Moscow","windowHours":24}'

Resolve by contact (uses their TZ + historical opens)

curl -s -X POST "https://api.live-direct-marketing.online/api/best-send-time" \
  -H "Authorization: Bearer $LDM_KEY" -H "Content-Type: application/json" \
  -d '{"contactId":"$CONTACT_ID","windowHours":48}'