Skip to main content
Skip table of contents

Chat API (REST API)

Overview

This documentation outlines the methods for creating and managing messages, attachments, and chat sessions via our REST API. It provides a detailed overview of the available endpoints and the structure of messages sent and received through them.

Authentication

Navigate to the API Authentication page to learn more about Token creation and Authentication process.

Obtaining the API Key Token

Each miniApp has a unique API key token that is essential for establishing communication through the Chat connector.

To find your miniApp's API key token, follow the guidelines below:

  1. Navigate to your OCPminiApps.

  2. Select a miniApp and click on it to open its settings.

  3. Go to the Chat tab and find the key token within the Webchat Configuration section.

chat_tab.png

Error Codes

Omilia's HTTP response codes can be found on the HTTP Code Responses page.

API Reference

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.