Skip to main content
POST
Create a Social Selling media upload

Authorizations

x-api-key
string
header
required

Body

application/json
type
enum<string>
required
Available options:
IMAGE,
VIDEO,
DOCUMENT
mimeType
string
required
Minimum string length: 1
Example:

"image/png"

fileName
string
required

Its extension must match mimeType.

Required string length: 1 - 255
Example:

"london-map.png"

sizeBytes
integer
required

Exact size of the file you will PUT.

altText
string

Image alt text shown on LinkedIn.

Maximum string length: 4086
title
string

Document title shown on LinkedIn (required to attach a document).

Required string length: 1 - 58
credit
string

Credit kept with the asset.

Maximum string length: 200

Response

The pending asset and its presigned upload

status
enum<string>
required
Available options:
success
message
string
required
data
object
required