Skip to main content
POST
Create a social post

Authorizations

Authorization
string
header
required

A Motion API key. Access is limited to its stored organization, workspace, scopes and the creator’s current permissions.

Scopes

motion:social:write

Draft, submit, approve and cancel posts within current app permissions.

motion:sessions:read

Read permitted chats, job status and saved exports.

Headers

Motion-API-Version
enum<string>
default:2026-10-22

Optional API version override for this request. When omitted, Motion uses the API version pinned to your API key or OAuth connection.

Available options:
2026-10-22
Idempotency-Key
string<uuid>

Optional UUID for safe retries. Reuse the same key and body after a lost response.

Body

application/json
connection_id
string<uuid>
required

Connected social account ID.

generation_id
string<uuid>
required

Saved generation to post. Motion prepares its media automatically.

composition_id
string

Choose a composition when the generation contains several videos or images.

Maximum string length: 300
thumbnail_generation_id
string<uuid>

Saved image generation to use as a video thumbnail.

caption
string

Post text for destinations other than YouTube and Reddit. Platform limits apply.

Maximum string length: 50000
title
string

Required for YouTube (up to 100 characters) and Reddit (up to 300).

Required string length: 1 - 300
description
string

YouTube description (up to 5,000 characters) or Reddit post body (up to 30,000).

Maximum string length: 30000
scheduled_at
string<date-time>

Publication time. Omit to publish as soon as preparation and approval are complete.

idempotency_key
string

Reuse this key to retry creation without creating another post.

Required string length: 1 - 200

Response

Success

id
string<uuid>
required

Identifier of this resource. Use it when reading or updating the same resource.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
connectionId
string<uuid>
required

Enabled social destination UUID from list_social_accounts in the connected workspace.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
revision
integer
required

Post edit version. Pass it when editing, submitting, approving or cancelling this post; a stale version returns a conflict.

Required range: x <= 9007199254740991
status
enum<string>
required

Current state. The enum lists the values this resource can return.

Available options:
draft,
in_review,
scheduled,
processing,
posted,
failed,
cancelled
sourceChatId
string | null

Accessible source project chat UUID in the selected workspace. Required for agent-created social posts.

caption
string | null

Post copy within the destination’s platform limits; review before scheduling publication.

scheduledAt
string<date-time> | null

Future publication time as an ISO timestamp including its UTC offset.

Pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
approvedBy
string | null

Member UUID that approved publication, or null before approval.

postUrl
string | null

Provider URL of the published post, or null before verified publication.

error
string | null

Actionable error text or sanitized failure code, or null when no error is present.

hasMedia
boolean

Whether this post includes uploaded image or video media.

hasThumbnail
boolean

Whether this post includes an uploaded video thumbnail.

publicationLocked
boolean

Whether provider submission has begun, so editing or cancellation may be restricted.

{key}
any