Skip to content

Get preview metadata for a link attachment

Request

Fetches title, description, and image metadata for a URL, for use when building a link attachment on a User Generated Content item. This is a lookup only — it does not create or modify any content.

Security
oauth2_as_a_user(Required scopes: content.read)
Bodyapplication/json

The URL to preview.

urlstringrequired

The URL to generate a preview for.

curl -i -X POST \
  https://partner.socialchorus.com/v2/ugc/link_previews \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "url": "string"
  }'

Responses

Success

Bodyapplication/json
object

Preview metadata for the given URL (title, description, image, etc).

Response
{}