This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves the paywall content a post shows.
Returns the resolved content rather than the stored post paywall. For example, a post that references a paywall template returns that template's content.
The content is resolved in this order:
richContent, if its post paywall has any.language.
If no default exists for that language, the English default is used.The source field in the response indicates which step the content came from.
Retrieving a draft post's paywall requires the same access as reading the draft post.
Without it, the call fails with PERMISSION_DENIED.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.