ACME API Documentation logo

Validate a Post

Validate a post before publishing

POSThttps://api.acme.com/api/validate/post
Available on Premium, Business, Enterprise plans.

Before publishing a post, you can verify the content and parameters are correct. Send the exact same JSON you normally send to the /post endpoint to the /validate/post endpoint and it will return a response with any issues found.

  • Validation tests based on ACME's own internal algorithms.
  • Posts are not sent to the social networks.
  • Posts may still return an error by the social networks at the time of publishing, even with a passed validation.

Please see the /post endpoint for sending a post.

Header Parameters

Authorizationstringrequired
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY

Body Parameters

Send the same body as you would send to the /post endpoint.

curl --location "https://api.acme.com/api/validate/post" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer API_KEY" \
--data '{
  "post": "This is amazing",
  "platforms": [
  "facebook"
  ],
  "mediaUrls": ["https://img.acme.com/012/gb.jpg"]
}'
{
    "status": "success",
    "message": "No validation issues were found with this post. This is only an ACME validation test and the post may still return an error by the social networks.",
}