1. Posts
swonkie.dev
  • Introduction
  • Quick Start
  • Changelog
  • Social Networks
    • Facebook
    • Instagram
    • LinkedIn
    • TikTok
    • Threads
  • Profiles
    • My Profiles
      GET
    • Competitors
      GET
  • Insights
    • Getting Started
    • My Profile Insights
      GET
    • My Profile Insights Posts
      GET
    • Competitor Insights
      GET
    • Competitor Insights Posts
      GET
  • Posts
    • Getting Started
    • List Posts
      GET
    • Get a Post
      GET
    • Create a Post
      POST
    • Update a Post
      PUT
    • Validate a Post
      GET
    • Delete a Post
      DELETE
    • Change Post Stage
      PATCH
  • Labels
    • Getting Started
    • List Labels
      GET
    • Create a Label
      POST
  • Media
    • Get a Media
    • Create a Media
    • Upload File to Media
    • Confirm Uploaded Media
    • Delete a Media
  • Examples
    • Publish
Back to Home
Back to Home
Login
  1. Posts

Validate a Post

GET
/posts/{postId}/validate
Validates a post before publishing to ensure all content meets the requirements of the selected social networks. This endpoint performs the same validation checks that occur during the actual publishing process, allowing you to catch issues early without attempting to publish. Use this to verify that your post is ready to be scheduled or published immediately.
Important: The post must belong to your workspace and have all required content configured (captions, media, etc.) based on its type and target networks. Validation checks include content length limits, media format requirements, network-specific rules, and profile connection status.

Notes#

This endpoint does not modify the post or change its stage - it only performs validation checks.
Validation ensures all profiles are properly connected and authenticated.
Checks that media formats are supported by the target networks.
Verifies caption lengths don't exceed network-specific limits.
Confirms required fields are present based on post type (e.g., LINK posts must have links configured).
Network-specific validation rules are applied (e.g., Instagram carousel requirements, Facebook carousel minimums).
A successful validation (200 OK with valid: true) means the post can be published, but doesn't guarantee success if network conditions change before actual publishing.

Request

Path Params

Header Params

Responses

🟢200
application/json
Body

🟠400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.swonkie.dev/v2/posts/UG9zdElkMTIzNDU2Nzg51352/validate' \
--header 'X-API-ID: {{apiId}}' \
--header 'X-API-KEY: {{apiKey}}'
Response Response Example
200 - 200 OK
{
    "valid": true
}
Modified at 2026-03-11 19:13:36
Previous
Update a Post
Next
Delete a Post
Built with