Skip to main content
GET
Message Attachment Download
Streams the binary content of a message attachment. Take message_id and attachment_id from the attachments[] array inside message objects returned by Chat Messages. See Pricing for current prices. Where supported, get a quote for your request.

Example

Path parameters and required query parameters are documented in the operation reference. This endpoint streams binary content instead of JSON.

Request contract

  • Method and path: GET /apis/v1/unipile/linkedin/messages/{message_id}/attachments/{attachment_id}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/unipile/linkedin/messages/{message_id}/attachments/{attachment_id}
  • attachment_id: path; required
  • message_id: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.005 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

attachment_id
string
required

The id of the wanted attachment.

message_id
string
required

The id of the message to which the attachment is linked.

Response

OK. Request succeeded.

The response is of type file.