Skip to content

REST API and webhooks

View as Markdown
Coming soon

AgentMySite doesn’t have a public REST API or webhooks yet. The endpoints the admin panel and the widget use are internal. They need a signed-in admin session or a short-lived widget token, and they can change without notice, so don’t build on them.

We’re designing a server-side API for developers who want to automate AgentMySite from their own systems. It’s likely to include:

  • API keys that you create and revoke in the admin panel, separate from your sign-in.
  • Content management: add, sync, and remove the pages and files the assistant answers from.
  • Tool definitions: keep your AgentActions tools in source control and sync them from CI.
  • Conversations: export conversations and transcripts.
  • Webhooks: notifications for events such as new conversations, support handoffs, and usage thresholds.

This list describes what we intend to build, not a commitment. Scope and timing can change, and we haven’t set a release date.

  • The embed script and window.AgentMySite for everything in the browser. See JavaScript API.
  • AgentActions to let the assistant call your own backend. See AgentActions.
  • The admin panel to manage content, tools, and conversations, and to import tools from an OpenAPI spec.

If you have a use case for the API or webhooks, email support@agentmysite.com. Knowing what you’d build helps us decide what to ship first.