Create Social Post
POST /social/posts
POST
/social/posts
Create a DRAFT post. Nothing is published until you schedule or publish it.
Authorizations
Parameters
Header Parameters
Request Body required
A new post. Created as a DRAFT - nothing is published until you schedule or publish it.
object
body
required
The post text.
string
generation_sources
Any of:
Array<string>
null
media
Any of:
Array<object>
One image, video or PDF document attached to a post.
A post carries up to 8 images, OR exactly one video, OR exactly one document, never a mix.
object
alt
Alt text. alt_text is accepted as a synonym.
string
duration_seconds
Display only: video length in seconds.
kind
image, video or document (a PDF).
string
page_count
Display only: number of pages of a document.
size_bytes
Display only: file size in bytes. Never sent to LinkedIn.
url
required
Publicly fetchable URL of the asset.
string
null
post_type
string
Responses
201
Successful Response
object
data
required
One post.
object
body
required
string
created_by
required
string
generation_sources
Any of:
Array<string>
null
id
required
string
media
Any of:
Array<object>
object
key
additional properties
any
null
post_type
required
string
status
required
string
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string