Skip to content
First requestVisit website ↗
Navigation

Read public website metadata for a conversation link preview

Verified workspace members only. Checks public DNS and each redirect, limits HTML to 512 KiB and six seconds, and never executes scripts or forwards credentials. Returns null when the site cannot be previewed.

POST
https://api.channelautomation.com/api/link-preview

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Request body JSON required

  • url
    string
    required
    maxLength: 4096

Returns

200

Public page metadata or null when unavailable

JSON
  • preview
    optional
    object
    or null
    • title
      optional
      string
    • description
      optional
      string
    • image
      optional
      string
      or null

400

Invalid or private URL

401

Verified session required

403

Workspace membership required

429

Preview request limit reached

503

Authentication or membership lookup unavailable

Type to search…

↑↓ navigate↵ selectEsc close