Resolido Docs
Chat widget

Get widget install code

GET
/agents/{agentId}/install

Installation snippet, step-by-step prompt for a coding agent, and where the widget was already seen.

Authorization

bearer agents:read
headerAuthorizationBearer <token>

API key (rsl_live_…) from Settings → Developers.

Scope: agents:read

Path Parameters

agentId*string

AI agent id. Never invent ids – list resources first.

Length1 <= length <= 64

Response Body

Success

application/json
  1. response
agentId*string
organizationId*string
scriptUrl*string
snippet*string

HTML to insert before on every page.

inlineSnippet*string
aiInstallPrompt*string

Markdown instructions you can follow to install the snippet into a codebase.

seenOnDomains*array<>
curl -X GET "https://example.com/agents/string/install"
{  "agentId": "string",  "organizationId": "string",  "scriptUrl": "string",  "snippet": "string",  "inlineSnippet": "string",  "aiInstallPrompt": "string",  "seenOnDomains": [    {      "domain": "string",      "firstSeenAt": 0,      "lastSeenAt": 0    }  ]}