staqlydocs
REST APIAPI referencePosts

The text each target will carry and what its provider objects to

The text each target will carry and what its provider objects to (posts:read)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/posts/{id}/preview

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Path Parameters

id*string

Response Body

OK

application/json
  1. response
targets*array<>
curl -X GET 'https://staqly.example.com/v1/posts/string/preview'
{  "targets": [    {      "channel_id": "string",      "text": "string",      "links": "keep",      "links_found": [        "string"      ],      "warnings": [        "string"      ],      "ok": true    }  ]}