Skip to content

Get a rendered preview of a User Generated Content item, including moderation status

Request

Returns a rendered preview of the User Generated Content item, including its current moderation status, so a consuming application can display it prior to publication.

Security
oauth2_as_a_user(Required scopes: content.read)
Path
idintegerrequired

The id of the User Generated Content item.

Query
widthinteger

The desired rendering width, in pixels, of the previewed content.

curl -i -X GET \
  'https://partner.socialchorus.com/v2/ugc/contents/{id}/preview?width=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success

Bodyapplication/json
dataobjectrequired

The rendered preview, including moderation status.

Response
{ "data": {} }