Social

Social media content generation and publishing

Publish social post immediately

post

Publish a social media post immediately to a connected platform via Late.dev. The social account must be connected in Brand Settings first. Requires Power plan or higher.

Authorizations
X-API-KEYstringRequired
Body
site_idstring · uuidRequired
platformstring · enumRequiredPossible values:
contentstring · max: 5000Required
hashtagsstring[]Optional
image_urlstring · uriOptional
video_urlstring · uriOptional

URL of a video to attach (preferred over image_url for video platforms like TikTok, YouTube)

Responses
chevron-right
200

Post published

application/json
successbooleanOptional
platformstringOptional
post_idstring · nullableOptional
late_post_idstring · nullableOptional
errorstring · nullableOptional
post
/v1/social/publish
200

Post published

Schedule social post for future publishing

post

Schedule a social media post for future publishing. The post is sent to Late.dev with the scheduled time. Requires Power plan or higher.

Authorizations
X-API-KEYstringRequired
Body
site_idstring · uuidRequired
platformstring · enumRequiredPossible values:
contentstring · max: 5000Required
scheduled_atstring · date-timeRequired

ISO datetime when the post should be published

hashtagsstring[]Optional
image_urlstring · uriOptional
video_urlstring · uriOptional

URL of a video to attach (preferred over image_url for video platforms like TikTok, YouTube)

article_idstring · uuidOptional

Optional article ID to link this post to

Responses
chevron-right
200

Post scheduled

application/json
successbooleanOptional
platformstringOptional
post_idstring · nullableOptional
late_post_idstring · nullableOptional
scheduled_atstringOptional
statusstring · enumOptionalPossible values:
warningstring · nullableOptional

Warning message if post was saved as draft

post
/v1/social/schedule
200

Post scheduled

Generate a social media post

post

Generate a social media post from article content or a standalone topic. Provide article_title + article_summary, or just a topic. Requires Power plan or higher. Uses your OpenAI API key for text generation, and optionally Replicate API key for image generation.

Authorizations
X-API-KEYstringRequired
Body

Provide article_title + article_summary for article-derived posts, or provide topic for standalone posts.

site_idstring · uuidRequired
article_idstring · uuid · nullableOptional
topicstring · max: 500Optional

Standalone topic (alternative to article_title/article_summary)

article_titlestringOptional

Required if topic not provided

article_summarystringOptional

Required if topic not provided

article_urlstring · uri · nullableOptional
platformstring · enumRequiredPossible values:
tonestring · enumOptionalDefault: engagingPossible values:
include_hashtagsbooleanOptionalDefault: true
max_hashtagsinteger · max: 30Optional
hook_typestring · enumOptionalPossible values:
generate_imagebooleanOptionalDefault: false
Responses
post
/v1/social
201

Social post generated

Generate social posts for multiple platforms

post

Generate optimized social media posts for up to 5 platforms at once. Each platform gets tailored content based on its character limits and best practices. Provide article_title + article_summary, or topic for standalone posts. Requires Power plan or higher.

Authorizations
X-API-KEYstringRequired
Body
site_idstring · uuidRequired

Site/brand ID

topicstring · max: 500Optional

Standalone topic (alternative to article fields)

article_titlestringOptional

Title of the article

article_summarystringOptional

Brief summary of the article

article_urlstringOptional

Public URL of the article

tonestring · enumOptionalDefault: engagingPossible values:
include_hashtagsbooleanOptionalDefault: true
generate_imagesbooleanOptional

Generate images for each platform (requires Replicate API key)

Default: false
Responses
post
/v1/social/multi
201

Posts generated for each platform

Get supported social platforms

get

Returns all supported platforms with character limits, format support, and content tips.

Authorizations
X-API-KEYstringRequired
Responses
chevron-right
200

List of platforms

application/json
get
/v1/social/platforms
200

List of platforms

List social posts

get

List social media posts with optional filters.

Authorizations
X-API-KEYstringRequired
Query parameters
pageintegerOptional

Page number for pagination

limitinteger · max: 100Optional

Maximum number of posts to return

Default: 20
site_idstring · uuidOptional

Filter by site ID

platformstringOptional

Filter by platform

statusstring · enumOptional

Filter by status

Possible values:
Responses
chevron-right
200

A list of social posts

application/json
totalintegerOptional
pageintegerOptional
limitintegerOptional
get
/v1/social/posts
200

A list of social posts

Get social post

get

Get a single social post by ID.

Authorizations
X-API-KEYstringRequired
Path parameters
idstring · uuidRequired

Social post ID

Responses
chevron-right
200

The social post

application/json
idstring · uuidOptional
platformstringOptional
contentstringOptional
hashtagsstring[]Optional
image_urlstring · nullableOptional
statusstring · enumOptionalPossible values:
scheduled_atstring · date-time · nullableOptional
published_atstring · date-time · nullableOptional
article_idstring · uuid · nullableOptional
late_post_idstring · nullableOptional
error_messagestring · nullableOptional
metadataobject · nullableOptional
post_typestring · nullableOptional
voice_modestring · nullableOptional
site_idstring · uuid · nullableOptional
created_atstring · date-timeOptional
updated_atstring · date-time · nullableOptional
get
/v1/social/posts/{id}
200

The social post

Delete social post

delete

Delete a draft or scheduled social post. Cannot delete published posts.

Authorizations
X-API-KEYstringRequired
Path parameters
idstring · uuidRequired

Social post ID

Responses
chevron-right
200

Post deleted

application/json
deletedbooleanOptional
delete
/v1/social/posts/{id}
200

Post deleted

Update social post

patch

Update a draft or scheduled social post. Cannot edit published posts.

Authorizations
X-API-KEYstringRequired
Path parameters
idstring · uuidRequired

Social post ID

Body
contentstringOptional
hashtagsstring[]Optional
scheduled_atstring · date-timeOptional
image_urlstringOptional
Responses
chevron-right
200

Post updated

application/json
idstring · uuidOptional
platformstringOptional
contentstringOptional
hashtagsstring[]Optional
image_urlstring · nullableOptional
statusstring · enumOptionalPossible values:
scheduled_atstring · date-time · nullableOptional
published_atstring · date-time · nullableOptional
article_idstring · uuid · nullableOptional
late_post_idstring · nullableOptional
error_messagestring · nullableOptional
metadataobject · nullableOptional
post_typestring · nullableOptional
voice_modestring · nullableOptional
site_idstring · uuid · nullableOptional
created_atstring · date-timeOptional
updated_atstring · date-time · nullableOptional
patch
/v1/social/posts/{id}
200

Post updated

Schedule a draft social post

post

Takes an existing draft social post and schedules it via Late.dev. Uses the post's scheduled_at timestamp, or defaults to tomorrow 9am UTC. The post must be in "draft" status and have a connected platform account.

Authorizations
X-API-KEYstringRequired
Path parameters
idstring · uuidRequired

Social post ID (must be in draft status)

Responses
chevron-right
200

Post scheduled

application/json
idstring · uuidOptional
statusstring · enumOptionalPossible values:
late_post_idstringOptional
scheduled_atstring · date-timeOptional
post
/v1/social/posts/{id}/schedule

Publish a draft social post immediately

post

Takes an existing draft social post and publishes it immediately via Late.dev. The post must be in "draft" status and have a connected platform account.

Authorizations
X-API-KEYstringRequired
Path parameters
idstring · uuidRequired

Social post ID (must be in draft status)

Responses
chevron-right
200

Post published

application/json
idstring · uuidOptional
statusstring · enumOptionalPossible values:
late_post_idstringOptional
published_atstring · date-timeOptional
post
/v1/social/posts/{id}/publish

Bulk schedule or publish draft social posts

post

Schedule or publish multiple draft social posts at once. Processes posts sequentially to respect Late.dev rate limits. Returns partial success: individual post failures don't block others.

Authorizations
X-API-KEYstringRequired
Body
post_idsstring · uuid[] · min: 1 · max: 50Required

Array of draft social post IDs

actionstring · enumOptional

Action to perform on each post

Default: schedulePossible values:
Responses
chevron-right
200

Bulk operation results

application/json
post
/v1/social/posts/bulk-schedule
200

Bulk operation results

Get social media analytics

get

Returns social media analytics for a site including impressions, engagements, clicks, shares, per-platform breakdowns, and top performing posts. Requires Solo plan or higher.

Authorizations
X-API-KEYstringRequired
Query parameters
site_idstring · uuidRequired

Site/brand ID

platformstringOptional

Filter by platform (e.g. twitter, linkedin)

from_datestring · date-timeOptional

Start date filter (ISO 8601)

to_datestring · date-timeOptional

End date filter (ISO 8601)

top_ninteger · max: 20Optional

Number of top posts to include

Default: 5
Responses
chevron-right
200

Social analytics summary

application/json
totalPostsintegerOptional
totalImpressionsintegerOptional
totalEngagementsintegerOptional
totalClicksintegerOptional
totalSharesintegerOptional
averageEngagementRatenumberOptional
get
/v1/social/analytics
200

Social analytics summary

Generate carousel

post

Generate a LinkedIn carousel with AI-generated slides. Requires Business plan or higher.

Authorizations
X-API-KEYstringRequired
Body
site_idstring · uuidRequired
topicstringRequired

Topic for the carousel

hookstringOptional

Opening hook text

target_audiencestringOptional
slide_countinteger · min: 3 · max: 15OptionalDefault: 6
tonestring · enumOptionalPossible values:
include_statsbooleanOptional
cta_textstringOptional
cta_urlstringOptional
generate_imagesbooleanOptionalDefault: true
Responses
post
/v1/social/carousel
201

Carousel generated

Publish carousel

post

Publish a carousel to LinkedIn.

Authorizations
X-API-KEYstringRequired
Body
site_idstring · uuidRequired
captionstringRequired
image_urlsstring[]Required
hashtagsstring[]Optional
scheduled_atstring · date-timeOptional

Omit for immediate publishing

Responses
post
/v1/social/carousel/publish
201

Carousel published

Last updated

Was this helpful?