Preview an external URL

POST/manage/playlists/preview-external

Fetch the OGP metadata (title, description, image) of a URL before adding it to a playlist as an external item.

AuthLogin required

Request body

urlstringrequired

The URL to preview (required); must be a valid URL.

Request
curl https://api.4s.link/manage/playlists/preview-external \
-X POST \
-H "Authorization: Bearer 4s_at_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/event"
}'
Example response
{
"title": "Example Event",
"description": "...",
"imageUrl": "https://example.com/ogp.png",
"url": "https://example.com/event"
}