Download an attachment of a LinkedIn message
GET
Returns the file of an attachment, with its Content-Type. Take messageId and attachmentId from GET /linkedin-inbox/chats/{chatId}/messages.
A shared post (type: linkedin_post) has no file: open its url. An attachment marked unavailable is no longer served by LinkedIn.
Errors. 404 when the message is not in a conversation of your workspace, 409 ACCOUNT_DISCONNECTED, 429 RATE_LIMITED.
Authorization
apiKey Authorization<token>
Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.
In: header
Path Parameters
messageId*string
id of the message.
attachmentId*string
id of the attachment, in attachments of the message.
Response Body
application/octet-stream
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/linkedin-inbox/messages/r7Tq2LmXSoW9cVbE5aJk0g/attachments/2-ZmlsZS0xNzMyNjEyMzQ1" \ -H "Authorization: YOUR_API_KEY""string"