Actions60
- Agent Actions
- Org Actions
- Call Actions
- Usage Actions
- Voice Actions
- Phone Number Actions
- Knowledge Base: Document Actions
- Knowledge Base: Website Actions
- Billing Actions
- Chat (Build) Actions
Knowledge Base: Website → Create
AI-generatedSummary
Create websites for a Phonely agent
Inputs
- webAgentId (required) — Agent ID for websites.
- websitesJson — Array of website objects to add.
Output shape
object
Returns the API response from POSTing to agent-websites with the agent ID and website array.
Examples
Example 1: Add multiple websites to a Phonely agent in one call.
Set webAgentId to the target agent's ID. Populate websitesJson with an array of website objects (e.g., [{url: 'https://example.com', name: 'Example'}]). The node will POST this payload to the Phonely API, attaching the user's UID if credentials are provided.