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.
Lead Telecom & Routing Architect · Lausanne, CH
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.
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.
- WhatsApp RCS Template Header Media Dimension Validation Gate.
- WhatsApp RCS Template Header Media Render Fallback Audit.
- WhatsApp RCS Template Header Media Cost Gate.
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
- WhatsApp Template Category Approval vs RCS Route Parity Check
Verify WhatsApp template category approvals stay aligned with RCS agent capability declarations across every route desk before scaling a mixed campaign.
- Verify Bounce Webhook Classification and SLA Enforcement Gate on WhatsApp/RCS Routes
Check bounce webhook classification, DLR receipt mapping, and SLA enforcement gates on WhatsApp/RCS before raising volume, then compare partner routes in /tools/brief.
- Verify RCS Fallback Timeout Budget and Circuit Breaker Test on WhatsApp-RCS Routes
Run the RCS fallback timeout budget and circuit breaker test on WhatsApp-RCS routes before raising volume, then compare partner routes in /tools/brief.












