GetVoiceMessageAudio
Download the audio of a voice message. Take the ids from GetChatroom: the conversation’s linkedInAccountId as accountId, its id as conversationId, and the messageId of a message whose type is voice_note.
The response body is the audio file itself, not JSON, sent with its stored content type - typically audio/mp4.
Errors
- 403
You do not have an active subscription. Please check your subscription in the account settings and try again. - 404
This conversation does not exist: no conversation with this id for this sender in your workspace. - 404
No audio is available for this message: the message is not in this conversation, it is not a voice note, or its audio is not available.
Path parameters
accountId
The LinkedIn account (sender) the conversation belongs to.
conversationId
The conversation id.
messageId
The messageId of the voice message.
Headers
X-API-KEY
API key header using this scheme. Example: “X-API-KEY: {API_KEY}”
Response
OK. The audio bytes of the voice message.
Errors
403
Get Voice Message Audio Inbox Request Forbidden Error
404
Get Voice Message Audio Inbox Request Not Found Error
