Posts

Validate a post (dry run)

Runs the exact validation a publish would run, covering account resolution, media resolution and capability-registry rules, without touching any platform. Returns per-target errors (blocking) and warnings (advisory). Free to call before POST /v1/posts.

post/v1/posts/validate

Request

  • Base URL: https://api.postlake.dev
  • URL: https://api.postlake.dev/v1/posts/validate
  • Auth: bearerAuth (a scheme the document does not define)

Request body

textstring required

Caption for feed posts and Reels. May be empty for an Instagram Story-only post; Instagram Stories do not display captions.

campaignstring

Optional lowercase campaign slug, up to 80 characters.

assetMetadataobject

Up to 16 short caller-defined fields, such as hook, track or source filename.

profilestring

A profile name. Resolves to every account it owns. The simple way to address accounts; combine with platforms to narrow it. Provide profile, accounts, or both.

platformsPlatform[]

Optional filter. Keeps only these networks from the resolved set.

accountsstring[]

Connected account ids (acc_…). An alternative (or addition) to profile.

mediastring[]
scheduledAtstring date-time
timezonestring

IANA timezone (e.g. Europe/London). Interprets a naive scheduledAt as wall time in that zone. Stored fire time is always UTC.

platformOptionsobject

Response

Validation result

okboolean required

Changes

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