Upload a LinkedIn voice note
Converts an audio file (webm expected, 10 MB maximum, 5 minutes maximum) to m4a and returns a PUBLIC URL plus its duration IN MILLISECONDS, to use as an attachment with mediaType: "AUDIO" in a MESSAGE step.
Authorization
apiKey Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/advanced/linkedin/audio" \ -H "Authorization: YOUR_API_KEY" \ -F audio="string"{ "success": true, "audio": { "duration": 32000, "url": "https://eml-public.s3.eu-west-3.amazonaws.com/linkedin/audio/1760000000000_voice-note.m4a", "name": "voice-note.m4a" }}POSTUpload message attachments
Uploads 1 to 3 files (20 MB maximum each) and returns their URLs, to reference in versions[].attachments of EMAIL, MESSAGE or WHATSAPP steps.
Legacy campaigns
The routes of the previous Emelia campaign system, email only or LinkedIn only. Deprecated, still working for existing integrations.