What it's for
The API channel is for developers. It lets you plug any message source into Madyis Hub that doesn't have a dedicated connector: an in-house app, an internal channel, a third-party service, and so on. Messages flow in and out through the Madyis Hub API.
Who it's for
This option assumes some development work. If you're not technical, the other channels (Website, Email, WhatsApp, etc.) cover most needs without code.
Steps
- Go to Settings → Inboxes → Add inbox → API.
- Give the inbox a name.
- Optionally enter a webhook URL: Madyis Hub will send outgoing messages there so your system can pass them on to your customer. This field is optional.
- Confirm, then add the agents.
Next
Once the inbox is created, your application uses the Madyis Hub API to send incoming messages (from your customer into Madyis Hub) and, via the webhook, to receive outgoing messages (from Madyis Hub to your customer). See the API documentation for the exact endpoints.
Tip: the webhook URL must start with http(s). You can change it later in the inbox settings.