Publishing Runs and Posts

Validate schedule

Validates and normalizes a posts[] or campaigns[] schedule without creating a run.

Note: Use this before handing a generated schedule to /v1/posts/apply.

Note: The route accepts either the schedule object directly or { schedule: ... }.

post/v1/posts/validate

Request

  • Base URL: https://getsocialclaw.com
  • URL: https://getsocialclaw.com/v1/posts/validate
  • Auth: HTTP bearer

Request body

timezonestring

IANA timezone. Defaults to UTC.

mode'scheduled' | 'draft'

scheduled creates runnable posts; draft creates an editable draft run.

idempotencyKeystring nullable

Optional idempotency key. Also accepted as idempotency_key.

scheduleobject

Optional wrapper. Routes accept either the envelope directly or { schedule: envelope }.

Response

Successful response.

okunknown required
tenantIdstring required

Workspace id.

timezonestring required

Resolved timezone.

modestring required

Resolved mode.

sourceModelstring

posts_v1 or campaigns_v2.

totalCampaignsinteger

Campaign count.

totalPostsinteger required

Post count.

campaignobject nullable
scheduleobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.