Skip to main content

A file attached to an inbox thread message.

id
string
required

Attachment ID. Pass it as is to GET /v3/inbox/threads/{id}/attachments/{attachmentId} to download the file; don't build or parse it.

fileName
string
required

Name of the attached file.

status
enum<string>
required

Availability of the file.

stored: the file is kept with the message. tooLarge: the file exceeds the size limit and is not kept. providerUnavailable: the file was no longer available on LinkedIn when the message was received. downloadFailed: the file could not be retrieved and is not kept.

Available options:
stored,
tooLarge,
providerUnavailable,
downloadFailed
contentType
string | null

MIME type of the file, e.g. application/pdf. null when unknown.

size
integer<int64> | null

File size in bytes. null when unknown.