A link to a read-only preview page of the post where anyone with it can comment
A link to a read-only preview page of the post where anyone with it can comment (posts:write)
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.
The answer carries url and token once. The token is in the URL fragment, so it does not reach
server logs or other sites. expires_in_days 0 (or no body) never expires; revoke with DELETE.
AuthorizationBearer <token>API key (stk_...), or in the Community Edition the access token (stk_local_...)
id*stringIdempotency-Key?stringReplays the stored response when the same key is repeated with the same method, path,
query string and body within 24 hours (422 idempotency_mismatch with a different
request, 409 idempotency_in_progress while the first one runs). Not applied to
multipart uploads or to responses that carry a secret.
length <= 200application/json- body
expires_in_days?integer0 never expires
0 <= value <= 365Created
application/json- response
id*stringpost_id*stringcreated_at*stringdate-timeexpires_at*|date-timerevoked_at*|date-timeactive*booleanurl?stringOnly when created
token?stringOnly when created
curl -X POST 'https://staqly.example.com/v1/posts/string/previews' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "post_id": "string", "created_at": "2019-08-24T14:15:22Z", "expires_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z", "active": true, "url": "string", "token": "string"}