Skip to main content
POST
/
public
/
link-preview
public Get a link preview for the specified url.
curl --request POST \
  --url https://api.example.com/public/link-preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://www.google.com",
  "publicSessionToken": "<string>"
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
url
string
default:https://www.google.com
required
Minimum string length: 1
publicSessionToken
string | null

Response

Success

success
boolean
data
unknown