Converse 2.0 APIs
Converse 2.0 is 8x8's omnichannel conversation platform for contact centres. Its APIs let an external system or bot close and transfer conversations, send and receive messages across WhatsApp, SMS, Email and other channels, react to conversation status changes, and export historical data.
Converse 2.0 was formerly known as Moobidesk Enterprise. Hostnames still use the moobidesk.com domain.
๐
To get access to Converse 2.0, please reach out to your account manager (cpaas-sales@8x8.com). Your
apiKeyandapiSecretare issued by 8x8 โ there is no self-service signup.
The APIsโ
APIs you call are documented as an interactive reference. APIs that call you are webhooks, documented as pages like this one.
| API | What it does |
|---|---|
| Conversation API | Close a conversation, transfer it, or list a contact's active conversations. |
| MT Messaging API | Send an outbound message to a customer. |
| Conversation Status Update Notification | Be notified when a conversation opens, is assigned, is read, or closes. Webhook. |
| Bot integration | Connect a bot as an agent. Webhook plus the Bot Response API. |
| Reporting API | Export conversation, message and agent data. |
| Setup API | Look up the channel accounts, agents, queues and dispositions the other APIs need. |
Start with the Setup APIโ
Nearly every Converse 2.0 operation requires a UUID that only your tenant configuration can supply:
| To do this | You need | Get it from |
|---|---|---|
| Send a message | channelAccountUUID | List channel accounts |
| Close a conversation | dispositionUUID | List queues with disposition: true |
| Transfer a conversation | queueUUID, agentUUID | List queues, List agents |
Call the Setup API first and cache what it returns.
Base URLsโ
Converse 2.0 is served from two hosts, and which one an operation uses is not predictable from its path. Each operation's reference page states its host.
https://api18.moobidesk.com
https://e18.moobidesk.com
Authenticationโ
Every API is authenticated with an apiKey / apiSecret pair issued by 8x8. Where they go depends on the API โ Converse 2.0 predates 8x8's x-api-key header convention and does not use it.
| API | How credentials are sent |
|---|---|
| Conversation, Reporting, Setup | apiKey and apiSecret as properties of the JSON request body |
| MT Messaging | apiKey as a URL path segment, apiSecret in the request body |
| Bot Response | A short-lived {token} in the URL. No key or secret |
| Notification webhooks | Converse 2.0 sends credentials to you, for you to verify |
๐ง
The MT Messaging API carries your
apiKeyin the request URL, where it can be captured by proxy and server access logs. Restrict who can read logs for systems that call it, and treat both credentials as secrets. Never logapiKey,apiSecret,botApiKey,botApiSecret, or a Bot Response callback URL.
Response envelopeโ
The Conversation, Reporting and Setup APIs share one envelope:
{ "status": "Ok", "message": "Success" }
{ "status": "Failed", "message": "<error_message>" }
๐ง
A rejected request is still returned with HTTP 200 and
status: "Failed". Check thestatusproperty โ do not rely on the HTTP status code alone. The Bot Response API is the exception: it uses real HTTP status codes and asuccessboolean.
Conventionsโ
- All UUIDs are strings, and all timestamps are ISO 8601.
- Numeric values are sent as strings where precision matters.
- Reporting operations page at 100 records per page. The other APIs do not paginate.
- Outbound APIs describe attachments with
contentTypeand a coarse group โimage,video,audioorfile. Inbound webhooks use a different field name and a full MIME type, so do not pass an inbound attachment object straight back to an outbound API.