Phonely

Phonely API operations using API key auth.

Knowledge Base: Website → Create

AI-generated

Summary

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.

Discussion