Publications

Preview text as publishing images

post/publications/preview-text-card

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/publications/preview-text-card
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

attachment_countinteger

Following attachments; adds a next-slide arrow

output_profilestring

Provider format, including instagram.story for a vertical Story

settingsobject

Text card style settings, also accepted in rendition and Social Set defaults

social_account_idstring required

Connected account whose name, handle and profile photo appear on the card

textstring required

Effective destination text

Example request

{
  "$schema": "https://example.com/api/v1/schemas/PreviewTextCardInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/api/v1/schemas/PreviewTextCardOutputBody.json"
}

Changes

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