Skip to content

Content / Validation tools

Catch the mismatch before the publish request.

Check content against supported platform rules, inspect weighted text length, and validate a media URL through authenticated API operations. Put useful feedback where your team prepares the content.

The workflow

Built into the way
you work.

  1. Check the content shape

    Validate the proposed post against the selected platform rules and inspect the returned issues.

  2. Measure the text

    Read per-platform length results, including X's weighted text calculation.

  3. Inspect the media

    Validate a media URL before continuing the upload and publishing workflow.

The contract, in view

Start with an operation.

Explore the real endpoints behind validation tools. Your implementation stays connected to the public API schema.

Validation toolsAPI reference
Choose an operation
Selected operationvalidatePost
POST/v1/tools/validate/post

Check a proposed post against supported platform rules.

Required URL inputs
No required path or query parameters.
Request body & access
Read the operation schema for body fields, permission requirements and response shapes.
Open full schema

Reference only. No request is sent.

Earlier feedback for editors

Expose actionable validation results while content is still being prepared.

Shared platform rules

Use the API's validation surface instead of maintaining a separate set of publishing assumptions in your interface.

Before you build

Know the boundaries.

Platform support and account permissions stay specific. Plan your workflow with these details in view.

  • These are authenticated API tools, not anonymous free web utilities. Keep API keys on your server.
  • A successful validation does not guarantee that a provider will publish the content; account permissions, current limits, and delivery outcomes still matter.
  • X uses weighted text length. Other platform length calculations use the string length defined by the API.