Posts

Get post preview

Shows the text each enabled destination will send, after the network's formatting rules, and its length against the account's limit. Nothing is published.

get/posts/{post}/preview

Request

  • Base URL: https://app.trypost.it/api
  • URL: https://app.trypost.it/api/posts/{post}/preview
  • Auth: HTTP bearer

Response

Preview per destination.

post_idstring uuid
original_contentstring
original_lengthinteger

Characters (code points) of the stored content.

Example response

{
  "platforms": [
    {
      "thread_replies": [
        {
          "media": [
            {
              "id": "9d3c1f30-8a9b-4c0d-9e1f-2a3b4c5d6e7f",
              "path": "medias/9d3c1f30-8a9b-4c0d-9e1f-2a3b4c5d6e7f.jpg",
              "url": "https://media.trypost.it/medias/9d3c1f30-8a9b-4c0d-9e1f-2a3b4c5d6e7f.jpg",
              "type": "image",
              "mime_type": "image/jpeg",
              "original_filename": "launch.jpg",
              "size": 482113,
              "meta": {
                "width": 1080,
                "height": 1350,
                "alt_text": "Product launch banner"
              }
            }
          ]
        }
      ]
    }
  ]
}

Changes

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