IOSOR Learn

WhatsApp RCS Template Header Media MIME Type Validation Gate

Validate MIME type allow-lists and size limits for WhatsApp and RCS template headers across carriers to prevent render failures, then compare partner transcoding and rejection handling via Decision Brief.

Oleksandr (Alex) Petukhov — IOSOR Telecom Expert
✓ Verified by IOSOR ExpertOleksandr (Alex) Petukhov

Lead Telecom & Routing Architect · Lausanne, CH

IOSOR Expert · Q&A

Ops teams must enforce strict MIME type allow-lists and byte-size ceilings for WhatsApp and RCS template headers to stop carrier-side render failures before they reach end users. This gate covers image, video, and document header payloads across all supported corridors.

MIME Allow-List Enforcement

WhatsApp accepts image/jpeg, image/png, and image/webp for image headers; video/mp4 and video/3gpp for video headers; application/pdf for document headers. RCS carrier profiles vary — most allow image/jpeg, image/png, image/gif, video/mp4, and audio/amr. Reject any payload outside these sets at ingestion with a 415 response and a structured error code.

Size Limit Thresholds

WhatsApp caps image headers at 5 MB, video at 16 MB, documents at 100 MB. RCS carrier limits range from 300 KB to 2 MB for images and 1 MB to 10 MB for video depending on the MNO. Implement per-carrier limit maps in the template validator; auto-downsample or transcode only when the partner route advertises lossless transcoding in its SLA.

Transcoding & Rejection Telemetry

Log every transcoding event: source MIME, target MIME, byte delta, latency ms, and partner route ID. Correlate with DLR receipts and webhook latency to detect silent drops. Partners that return 4xx/5xx without a structured error body must be flagged for SLA review.

⚡ IOSOR Expert · Q&A · Verified partners (×44)

Carrier-Specific Header Rendering Quirks

Some MNOs strip EXIF from JPEG headers, others re-encode PNG to WebP causing alpha-channel loss. Maintain a carrier-quirk matrix keyed by MCC-MNC; run synthetic header renders weekly via headless Chrome and compare pixel hashes against the reference asset.

Template Submission Gate Checklist

Before submit: 1) MIME in allow-list, 2) byte size ≤ carrier limit, 3) dimensions within spec, 4) no embedded ICC profiles, 5) video keyframe interval ≤ 2 s, 6) audio track present for video headers. Fail fast with actionable error codes mapped to the partner route.

Start with IOSOR

Compare verified partner transcoding SLAs, rejection handling, and carrier-quirk coverage for your channel and corridor using the Decision Brief: Compare WhatsApp RCS routes.

IOSOR takeaway

WhatsApp accepts image/jpeg, image/png, and image/webp for image headers; video/mp4 and video/3gpp for video headers; application/pdf for document headers. Fail fast with actionable error codes mapped to the partner route (/tools/brief · DLR / webhook).

Was this guide helpful?

Related guides

VERIFIED BY IOSOR EXPERT · B2B ROUTING, SLA & PROVIDER Q&A

IOSOR Expert — Verified Q&A & B2B Messaging Decisions

Every Q&A decision below is audited by the IOSOR Telecom Architecture Expert against live 90-day uptime telemetry, carrier compliance rules (10DLC, DLT, GDPR), and real partner TCO.

All Q&A Triggers
#01 · Compliance & Sender ID📖 Knowledge hub · US A2P / 10DLC

US A2P / 10DLC

“Why do US 10DLC TCR campaigns get rejected and which partner handles fast onboarding?”

✓ Verified by IOSOR Expert

10DLC brand and campaign programs for US A2P traffic — not general privacy compliance.

All Q&A Triggers
#02 · OTP & verification📖 Knowledge hub · India DLT

India DLT

“How do engineering teams prevent India TRAI DLT template scrubbing drops on OTPs?”

✓ Verified by IOSOR Expert

DLT and PE-TM registration for India A2P — not an India corridor coverage guide.

All Q&A Triggers
#03 · OTP & verification📖 Knowledge hub · Verify / OTP

Verify / OTP

“How do we eliminate OTP p95 timeout spikes and trigger a 20–30s multi-rail fallback?”

✓ Verified by IOSOR Expert

Login codes without chaos: abuse, latency, and cost control.

All Q&A Triggers
#04 · Transactional email📖 Knowledge hub · Email

Email

“Why do password reset and 2FA emails land in Spam when sharing bulk marketing IPs?”

✓ Verified by IOSOR Expert

Transactional email alongside SMS, voice, and WhatsApp in one routing architecture.

All Q&A Triggers
#06 · WhatsApp Business📖 Knowledge hub · WhatsApp & RCS

WhatsApp & RCS

“How do Meta per-conversation fees and template pauses impact WhatsApp Business TCO?”

✓ Verified by IOSOR Expert

Rich channels when profiles and templates are ready: honest setup.

All Q&A Triggers
#08 · Failover & backup routing📖 Knowledge hub · Failover & rails

Failover & rails

“How do we keep a second standby provider warm for failover at $0/month idle cost?”

✓ Verified by IOSOR Expert

Ordered backup paths when a primary rail fails - distinct from DLR status truth.

All Q&A Triggers