<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jonathan Lis</title>
    <description>The latest articles on DEV Community by Jonathan Lis (@jonathan_lis_cf57fef76e83).</description>
    <link>https://dev.to/jonathan_lis_cf57fef76e83</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3828465%2F7617544a-fbe1-459c-8680-9060f95c8b81.jpeg</url>
      <title>DEV Community: Jonathan Lis</title>
      <link>https://dev.to/jonathan_lis_cf57fef76e83</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jonathan_lis_cf57fef76e83"/>
    <language>en</language>
    <item>
      <title>How to Send Native Voice Notes on LinkedIn, Telegram and WhatsApp Programmatically</title>
      <dc:creator>Jonathan Lis</dc:creator>
      <pubDate>Tue, 17 Mar 2026 04:15:46 +0000</pubDate>
      <link>https://dev.to/jonathan_lis_cf57fef76e83/how-to-send-native-voice-notes-on-linkedin-telegram-and-whatsapp-programmatically-aad</link>
      <guid>https://dev.to/jonathan_lis_cf57fef76e83/how-to-send-native-voice-notes-on-linkedin-telegram-and-whatsapp-programmatically-aad</guid>
      <description>&lt;p&gt;If you've ever tried to send a voice note on LinkedIn or WhatsApp through code, you know it's a nightmare. Every platform has different audio format requirements, different auth flows, and almost none of them have a documented public API for voice messages.&lt;br&gt;
I spent months figuring this out for each platform. Here's what I learned.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem&lt;/strong&gt;&lt;br&gt;
Each platform handles voice notes differently:&lt;/p&gt;

&lt;p&gt;LinkedIn expects M4A audio uploaded through an internal API, delivered with specific audio metadata and a waveform. There's no public API for this.&lt;/p&gt;

&lt;p&gt;Telegram is the easiest. Their Bot API has a sendVoice method that accepts OGG Opus files.&lt;/p&gt;

&lt;p&gt;WhatsApp requires a session-based connection and OGG Opus format.&lt;br&gt;
Messenger, Instagram, Slack, Discord, Viber, WeChat all have their own quirks.&lt;/p&gt;

&lt;p&gt;If you're building an outreach tool, a CRM, or any product that sends messages across platforms, supporting voice notes means dealing with all of these individually.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The audio format problem&lt;/strong&gt;&lt;br&gt;
Your user records an MP3. LinkedIn needs M4A. Telegram needs OGG Opus. WhatsApp needs OGG Opus but with different encoding parameters. &lt;/p&gt;

&lt;p&gt;You end up building an audio conversion pipeline before you've even sent a single message.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I built&lt;/strong&gt;&lt;br&gt;
I built Svara (&lt;a href="https://svarapi.io" rel="noopener noreferrer"&gt;https://svarapi.io&lt;/a&gt;) to abstract all of this into one API call:&lt;/p&gt;

&lt;p&gt;bashcurl -X POST &lt;a href="https://svarapi.io/api/v1/send" rel="noopener noreferrer"&gt;https://svarapi.io/api/v1/send&lt;/a&gt; \&lt;br&gt;
  -H "Authorization: Bearer sk_live_..." \&lt;br&gt;
  -H "Content-Type: application/json" \&lt;br&gt;
  -d '{&lt;br&gt;
    "platform": "telegram",&lt;br&gt;
    "recipient": "400533598",&lt;br&gt;
    "audio_url": "&lt;a href="https://example.com/voice.mp3" rel="noopener noreferrer"&gt;https://example.com/voice.mp3&lt;/a&gt;",&lt;br&gt;
    "session": {&lt;br&gt;
      "bot_token": "7000000000:AAH-abc123"&lt;br&gt;
    }&lt;br&gt;
  }'&lt;/p&gt;

&lt;p&gt;You send any audio format. Svara converts it and delivers it as a native voice note on whichever platform you specify. The recipient sees a normal playable voice message, not a file attachment or a link.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Supported platforms&lt;/strong&gt;&lt;br&gt;
LinkedIn, Telegram, WhatsApp, Messenger, Instagram, Slack, Discord, Viber, and WeChat. Same endpoint, same request format.&lt;br&gt;
If you want to try it&lt;/p&gt;

&lt;p&gt;50 free voice notes at svarapi.io, no credit card required. API key in 2 minutes.&lt;/p&gt;

&lt;p&gt;Would love to hear from anyone else who's dealt with the pain of multi-platform messaging APIs. What platforms are the worst to work with?&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
