How to create an API channel?
To create and configure an API channel in VowChat, follow the steps described below.
Setup the API channel
Step 1. Go to Settings → Channels → "Add Channel".
Step 2. Click on the "API" icon.
Step 3. Provide a name for the channel and a callback URL.
Step 4. "Add agents" to your API channel.
The channel setup is complete.
Send messages to the API channel
To send messages to the API channel, ensure you understand the following models and nomenclature used in VowChat:
-
Channel: Channel defines the type of source of conversations. E.g., Facebook, Twitter, API, etc.
-
Inbox: You can create multiple sources of conversations of the same channel type. E.g., You can have more than one Facebook page connected to a VowChat account. Each page is called the channel in VowChat.
-
Conversation: A Conversation is a collection of messages.
-
Contact: Each conversation has a real-life person associated with it, called a contact.
-
Contact Inboxes: This is the session for each contact in a channel. A contact can have multiple sessions and multiple conversations in the same channel.
API Integration
Refer to the VowChat API documentation for detailed information on:
-
Creating contacts
-
Creating conversations
-
Sending and receiving messages
-
HMAC Authentication
-
WebSocket connections
For complete API reference and integration examples, visit the VowChat developer documentation.