Senobi Help Center
Connected apps and actions

Can Senobi call my own API?

Updated

Yes. Custom API tools let Senobi call your own HTTP endpoints mid-conversation, to look something up or take an action. Build them in Studio > Custom API tools (Setup, under Senobi). The Custom tab of the App Store lists the same tools and can start a new one.

What a tool needs

  • Name: how it shows in transcripts and usage.
  • Description: tells Senobi when to use it. Write it like you would brief a new hire.
  • URL template: an https endpoint. Conversation values are filled in on the server.
  • Parameters: the values Senobi collects, each with a description and whether it is required.
  • Method: GET, POST, PUT, PATCH or DELETE.
  • Sign-in: a key in a header or a query parameter, basic auth, or OAuth client credentials.

Have an OpenAPI spec? Import it and pick the operations you want as tools.

Who calls it

  • Customers: Senobi uses it in the customer chat to read, with GET or a POST lookup.
  • Your team: Sensei and your custom agents use it. GET reads; anything that changes data waits for an owner's Approve card.

Secrets are stored in AWS Secrets Manager under your workspace and are never sent to the browser. Test a tool with a live test run on its Runs tab before Senobi uses it. Each workspace can have up to 10 custom tools.

The public session API

The widget speaks a small JSON API you can call directly, for custom frontends or native apps: start and resume sessions, send messages and stream replies, upload photos. Calls are scoped to registered origins and per-session tokens, with rate limits.

Details are in the docs.

Still need help?Chat with us and we will sort it out.