An AI chatbot that answers by calling your API.
repliyo turns a customer's question into a request to the REST endpoint you already run, and your JSON response into a chat reply. The answer is fetched at the moment they ask, so it's never a stale copy.
One script tag · No credit card · Cancel anytime
From question to API call to answer
repliyo is the layer between your chat widget and your systems. It doesn't hold your data; it fetches it.
1. Customer asks
“Where’s my order #48291?” arrives from the chat widget.
2. repliyo understands
It works out the question type and pulls out the details, such as the order number.
3. Your API is called
repliyo fills your URL template, adds your auth header and calls your endpoint.
4. Customer gets a reply
Your JSON response becomes a clear answer in the chat.
What you give repliyo
For each question type you want to support, add an endpoint in your dashboard: a URL with placeholders, an optional auth header and, optionally, the part of the response to use.
Question type: Order status
Method: GET
URL template: https://shop.example.com/api/orders/{order_id}
Auth header: Authorization: Bearer <your token>
Response path: $.status (optional)When a customer asks about order 48291, repliyo sends:
GET https://shop.example.com/api/orders/48291
Authorization: Bearer <your token>Your API answers with JSON, for example:
{
"order_id": "48291",
"status": "shipped",
"estimated_delivery": "2026-10-02"
}With $.statusas the response path the reply is just “shipped”; leave it blank and repliyo summarises the record. The exact rules are in request & response mapping.
Details repliyo extracts from the question
Customers phrase things their own way. repliyo finds the values in the message and makes them available as placeholders in your URL.
| Question type | Placeholders |
|---|---|
| Order status | {order_id} |
| Order list | {user_id} |
| Product info | {product_id} |
| Product search | {query} |
| Booking | {booking_date} {booking_time} {service_type} {booking_id} |
When your site has identified the logged-in customer, {user_id}is also available in any endpoint, so your API can return only that customer's records.
Your API stays in control
- •The language model never calls your API. It only labels the question and extracts details; repliyo’s own service makes the request.
- •Your auth header is stored write-only and sent by repliyo’s servers. It isn’t exposed to the browser.
- •Requests pass through rate limiting and ownership checks before your endpoint is called.
- •A 403 or 404 from your API gives the customer the same generic “couldn’t find that” reply, so nobody can probe for valid IDs.
- •You choose what to return. Give repliyo’s credential the least access it needs.
More in Authentication and on the Security page.
What to know before you connect
The integration is deliberately simple. These are its current boundaries:
- •Five question types: Order status, order list, product info, product search and booking. You connect your own endpoint to each; you can’t define new types yet. For anything else, use uploaded documents.
- •GET or POST, no request body: Every value travels in the URL, so design your endpoint to read from the path or query string.
- •One custom header: A single header name and value, sent on every call to that endpoint.
- •10-second timeout: If your API takes longer, the customer is asked to try again.
- •Public HTTPS endpoint: repliyo calls your API from its own servers, so the endpoint must be reachable from the internet.
- •JSON or plain text: JSON is read by path or summarised; plain text is used as it is (first 500 characters).
Frequently asked questions
What is an AI chatbot with REST API integration?
It’s a chatbot that doesn’t answer from a fixed script or an uploaded knowledge base but from your own systems. When a customer asks a question, the chatbot calls a REST endpoint you run and turns the JSON it gets back into a reply.
Does the AI model call my API directly?
No. The language model classifies the question and extracts details such as an order number as structured data. repliyo’s own service then makes the request to your endpoint. Your auth header is sent by repliyo’s servers; it isn’t exposed to the browser or to the language model.
Do I have to build a new API?
Not if you already have endpoints that return order, product or booking data as JSON. Point repliyo at them. If your platform has no such endpoint, you’ll need to expose one; you can start with uploaded documents in the meantime.
How do I control what my API returns to a chat customer?
Your endpoint decides. Return only what should be shown, and give repliyo’s credential the least access it needs. For order and booking questions, identify logged-in customers so your endpoint receives their ID, and return a 403 or 404 for anything that isn’t theirs.
Does it work with Shopify or WooCommerce?
repliyo works with any system that exposes an HTTP endpoint it can call. There are no one-click platform integrations yet, so your platform needs an endpoint you can point repliyo at.
Is my data stored by repliyo?
Order, catalogue and booking data returned by your API isn’t stored by repliyo, and neither are conversation transcripts. To write the reply, the response and the customer’s question are sent to Anthropic’s Claude, which doesn’t train on that data under our agreement. See the Security page.
See it applied to a real question type in order tracking, or read about the whole AI ecommerce chatbot.
Point repliyo at your API.
14 days free. One script tag. No credit card.
