Sites / Get install snippet
Get install snippet
GET/v1/sites/{id}/install-snippet
Returns the one-line script tag to add to the site's HTML. The snippet loads by site_key (the ?key= parameter), not by the resource id.
Path parameters
id
string · required
The site id.
Response fields
snippet
string
The <script> tag to paste into the site, keyed by site_key.
GET/v1/sites/{id}/install-snippet
curl https://app.converly.io/api/v1/sites/site_29Et…/install-snippet \ -H "Authorization: Bearer sk_live_…"
200 OK
{
"snippet": "<script src=\"https://js.converly.io/loader.js?key=site_1VQH84sr\" async></script>"
}