All integrations

A Custom API connection for a system that is not on the list

If you have a membership program, a shipment tracking tool or a system specific to your industry, ReplyWe connects to it through the endpoints you define. You decide which record is read, which action is run and which one needs approval.

The ReplyWe Custom API integration is a connection that answers messages from WhatsApp, Instagram, web chat and the other channels by looking up the records in your own software through the API endpoints you define, and that runs the actions you allow.

  • Category: Custom API
  • On all six channels
  • Permissions per action

Sample conversation: Membership freeze: an action that needs approval. The customer asks, ReplyWe takes the action in Custom API and replies.

  1. Customer (Telegram, 18:20): Can I freeze my membership for a month?
  2. Action: Looked up membership 20417, prepared the freeze request · System: Custom API · Result: Rule: Freeze requests need approval, Status: Awaiting approval · Status: Awaiting approval
  3. ReplyWe (18:20): Hi Cem, I found your membership record. Because freeze requests need approval, I've passed your request to the gym management; once it is approved, your membership will be frozen for a month and I'll let you know here.
  4. Customer (Telegram, 18:21): OK, thanks.
Sample data

AT A GLANCE

ReplyWe and Custom API: at a glance

With a Custom API connection, ReplyWe calls the endpoints you define in your own software or in a system that is not on the list. Each action is defined once, with its address, request format and response fields; ReplyWe picks the right action for the customer's question and answers from the record. Actions such as creating or updating a record can be switched on one by one, made subject to approval, or kept off. If your system does not respond, the conversation is handed off to your team with a summary, and every call appears in the Action Log.

Last updated:

Category
Custom API
Connection method
HTTPS endpoints you define; authentication with an API key or OAuth 2.0, and a webhook for events
Records read
The lookup endpoints you open: records such as membership, shipment, order and appointment
Records written
The actions you open: creating or updating a record, opening a request (if you allow it)
Channels
WhatsApp, Instagram, Messenger, Telegram, web chat, email
Permission model
Per action: automatic, needs approval, hand off to a human, or off

DATA

Which Custom API data does ReplyWe work with?

Each row matches a question a customer might ask. Write actions run only if you switch them on.

Records read and written in Custom API
RecordAccessWhat ReplyWe doesSample question
LookupGETReadsCalls the lookup endpoint you defined for the customer's question, and makes the returned fields the source of the reply.“When does my membership end?”
Create recordPOSTWritesOpens the customer's request as a new record in your system; you define which fields are sent.“Could you set up a trial session for me?”
UpdatePUT, PATCHWritesUpdates the fields you defined on an existing record, such as contact details or request status.“I'd like to change my phone number.”
Cancel and deleteDELETEWritesCalls the endpoint that cancels or deletes a record only if you switch it on; it is off by default.“Please cancel my membership record.”
Webhook eventWebhook eventReadsReceives an event that arises in your system, such as a status change, and carries it into the relevant conversation.“Has there been any progress on my request?”
AuthenticationAPI key, OAuth 2.0ReadsMakes calls with the credential you defined; it does not reach an endpoint outside its permissions.“Can you access my account?”

Access is limited to what you authorize on the Custom API side. How permissions work

WHAT IT DOES

What ReplyWe does with Custom API

For a system that is not on the list: your own endpoints, your own actions.

Suggested starting permissionAutomaticNeeds approvalHuman handoff

  • Calls your own endpoints

    Runs the action in your own software with the address, request format and response fields you defined, and answers lookups from the record.

    Automatic
  • Listens for events with a webhook

    Receives status changes in your system through a webhook and carries them into the relevant customer conversation.

    Automatic
  • You grant the access

    Access is limited to the credential you generate and the endpoints you define; no call is made to an undefined address.

    Automatic
  • You choose the permission for every action

    You make actions such as creating and updating a record automatic, require approval for them, or switch them off.

    Needs approval
  • Every call is on record

    Which endpoint was called with which fields, and what it returned, can be traced back in the Action Log.

    Automatic
  • Hands off to a human if your system does not respond

    In case of a timeout or an error, explains the situation to the customer and passes the conversation to your team with a summary.

    Human handoff

The badges show the suggested starting permission. You can make each action automatic, require approval for it, or switch it off.

Permissions

SAMPLE SCENARIOS

How a conversation goes with Custom API connected

Businesses and customers are fictional, and the conversations are shown in English; the flow shows how the product works.

Membership freeze: an action that needs approval

Gym · Telegram · Form Gym

A write action defined for your own membership software. Freezing needs approval.

The request went into the approval queue with the membership record; the action will be written to your system after approval.

Sample scenario
  1. Customer (Telegram, 18:20): Can I freeze my membership for a month?
  2. Action: Looked up membership 20417, prepared the freeze request · System: Custom API · Result: Rule: Freeze requests need approval, Status: Awaiting approval · Status: Awaiting approval
  3. ReplyWe (18:20): Hi Cem, I found your membership record. Because freeze requests need approval, I've passed your request to the gym management; once it is approved, your membership will be frozen for a month and I'll let you know here.
  4. Customer (Telegram, 18:21): OK, thanks.

Shipment lookup: from your own software

Logistics (B2B) · Web chat · Poyraz Logistics

A lookup action defined for a shipment tracking tool that is not on the list. The answer comes from the record.

The customer got the answer from the record in your own software, and the operations team did not step in.

Sample scenario
  1. Customer (Web chat, 10:35): What's the status of our shipment SHP-7731?
  2. Action: Read shipment SHP-7731 from the lookup endpoint · System: Custom API · Result: Status: In warehouse, Plan: Loading tomorrow · Status: Completed
  3. ReplyWe (10:35): Hi Taylan, your shipment SHP-7731 shows as In warehouse in our system and is planned for loading tomorrow. I'll notify you here once it has been loaded.

System did not respond: human handoff

Dental clinic · WhatsApp · Beyaz Dental Clinic

A defined endpoint times out. ReplyWe does not guess; it explains the situation and hands off.

The customer was given no guessed information; the coordinator took over the error and the request in a single summary.

Sample scenario
  1. Customer (WhatsApp, 14:35): Has my denture delivery date been confirmed?
  2. Action: The lookup endpoint timed out, handed off the conversation · System: Custom API · Result: Error: Timeout, Assigned to: Patient coordinator · Status: Handed off
  3. ReplyWe (14:35): Hi Selma, I couldn't get the delivery date from the clinic's system just now. So as not to give you wrong information, I've passed your request to our patient coordinator, who will update you in this conversation shortly.

SETUP

How to connect Custom API

The connection is defined by your system's admin or software team.

What you need

REST-based HTTPS endpoints and webhook

You define a credential for your system's API (an API key or OAuth 2.0); ReplyWe reaches only the endpoints you define, and only as far as that credential allows. For events, your system sends a notification to ReplyWe's webhook address.

  • An API that can be reached over HTTPS and replies in JSON
  • An admin or a software team that can generate a credential
  • A list of the actions you want ReplyWe to call (lookup, create, update)
  1. 1

    Define the endpoints

    In the dashboard, open your AI agent's Tools tab and use "New tool" to add an HTTP GET or POST call; the address and the fields to send are defined with variables. There are also ready-made templates for WooCommerce and product search.

  2. 2

    Enter the credential

    An API key or OAuth 2.0 credential is defined; ReplyWe makes calls only with the permissions of that credential, and only to the defined endpoints.

  3. 3

    Map actions to customer questions

    Decide which customer intent corresponds to which action; for example, the question “when does my membership end?” is tied to the lookup endpoint.

  4. 4

    Set the action permissions

    For lookup, creating a record, updating and canceling, choose automatic, needs approval, hand off to a human, or off.

  5. 5

    Test, then go live

    With sample requests, you check that the endpoints are called with the right fields, that the handoff works on an error, and the Action Log, then go live.

The scope and the rollout plan are settled in the demo call, around the API structure of your system.

PERMISSIONS AND DATA

Permissions and data: what happens on the Custom API side

ReplyWe runs only the endpoints you define and the actions you switch on in your Custom API. The table below is a suggested starting point.

Actions in Custom API and the suggested starting permission
ActionSuggested permissionWhy
Lookup actionsAutomaticRead only; the result goes to the verified customer.
Passing an event received by webhook to the customerAutomaticReports a status change in your system; it does not change a record.
Creating a recordNeeds approvalOpens a new record in your system.
Updating an existing recordNeeds approvalChanges data in your system.
Cancel and deleteOffHard to undo; it is used only if you switch it on deliberately.
Payment, contract and complaint topicsHuman handoffNeeds a human decision.

Access scopes requested

ScopeWhy
GET endpointsFor the read permission used only by lookup actions
POST, PUT and PATCH endpointsOnly if you switch on creating and updating records
DELETE endpointsOff by default; only if you deliberately switch on cancellation

Custom API data works on all six channels

In systems connected with a Custom API, questions mostly arrive on web chat, WhatsApp and Telegram; the same actions are used on all six channels.

  • WhatsAppMost used
  • Instagram
  • Messenger
  • Telegram
  • Web chatMost used
  • Email

See the channels

FAQ

Custom API integration: frequently asked questions

What is the Custom API integration and what does it do?

The Custom API integration connects your own software, which is not on the list, to ReplyWe through the API endpoints you define. ReplyWe calls the right endpoint for the customer's question, answers from the record, and runs the actions you allow in your system.

Which kinds of systems can it connect to?

Any system with an API that can be reached over HTTPS and replies in JSON; for example membership, shipment tracking, appointment or industry-specific software. For a system without an API, an endpoint layer has to be prepared first; we assess this together in the demo call.

Do I need a developer to set it up?

You need a developer or a system provider who can define your system's API; the action and permission settings on the ReplyWe side are made from the dashboard without code. Once the endpoints are defined, your team can change the action permissions.

What happens if my system does not respond or returns an error?

ReplyWe does not make up an answer. In case of a timeout or an error, it tells the customer it cannot get the information right now and hands the conversation to your team with a summary. The error is written to the Action Log, so your team can see what failed and why.

How are events in my system used through a webhook?

When something changes, your system sends a notification to ReplyWe's webhook address. ReplyWe carries the event into the relevant customer conversation and, if you allow it, tells the customer on the channel they wrote on. You define which event becomes which message.

Can I add tools in the dashboard myself?

Yes. In the dashboard you open your AI agent's Tools tab and use "New tool" to define your own HTTP GET or POST call; the address and fields are filled with variables. An availability or order lookup is a typical example. There are also ready-made templates for WooCommerce and product search: "Add WooCommerce" and "Add product search".

This page was last updated on .

Let's connect your system together.

In the demo we work through your own channel and your own system.

No credit card needed · Cancel any time

  • With your own channel
  • With your own system
  • Live and one-to-one