Skip to main content
POST
Download message attachment

Authorizations

Authorization
string
header
required

Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of download_linkedin_message_attachment.

linkedin_account_sid
string
required

Mailbox owner that received the message: the message row's linkedin_account_sid.

Required string length: 18
Pattern: ^ln_ac_
profile_id
string
required

The acting account's OWN profile URN (ln_id of linkedin_account_sid from search_linkedin_accounts), not the sender's.

Maximum string length: 128
message_id
string
required

Raw LinkedIn MessageId: the message row's message_hash (2-… form; the conversation id is decoded from it).

Maximum string length: 255
attachment_urn
string
required

Which attachment of that message: attachments[i].urn on the stored row (urn:li:digitalmediaAsset:…).

Maximum string length: 512

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
any
required
result
object
required
meta
object
required
credits
object