Website Contacts & Meta Data
This section contains the Leads and Chat API references
Last updated
This section contains the Leads and Chat API references
Last updated
To use the ChatbotWorld APIs, You need to insure that you have following details with you.
A. UUID - You can get the UUID from the local web session storage as show in the image below:
B. Bot ID & User ID: One can get the Bot ID and User ID from your Bot Script or Bot page URL. Below is the sample Example.
For Chatbot page URL
For Chatbot Script
C. Auth Token: We haven't automated everything yet. Please contact our support team to get the same.
Now you are ready to run the POC
Please use the below APIs in order to play with your leads and chat data.
As soon as any user opens up the Bot, It creates one UUId; pass the same along with the other required details to create and update the lead's details.
PUT
https://api.v7.express-chat.ai/inbox/direct/lead
As soon as any user opens up the Bot, It creates one UUId; pass the same along with the other required details to create and update the lead's details.
To get the listing of the leads and its meta data, Hit the below API with mandatory details.
GET
https://api.v7.express-chat.ai/inbox/direct/chats
To get the listing of the leads and its meta data, Hit the below API with mandatory details.
If you have any questions, you can look into our repository of FAQs, most likely, you will find your answer here, If not, write us at enquiries@chatbotworld.io
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
x-bp-token*
String
API Token
uuid*
String
Unique ID of a chat user
botId*
String
Unique ID of the bot
customerId*
String
Unique ID of the customer account
agentId
Boolean
Unique ID of the agent assigned
status
String
Valid status for the chat. Available values: 'OPEN', 'INPROGRESS', 'REVIEW', 'ONHOLD', 'DEPENDANCY', 'CLOSED'
picture
String
A valid image HTTP URL
name
String
Name of the lead
String
Email of the lead
phone
String
Phone number of the lead
dialCode
String
Dial Code including "+" sign
notes
Array<{title: string, description: string}>
Additional notes for the chat
tags
Array<String>
Additional tags for the chat
attributes
Array<{key: string, value: string}>
Custom attributes for the chat
botId*
String
Unique ID of the bot
customerId*
String
Unique ID of the customer account
page*
String
Page number
type*
String
"lead" to fetch only leads
"non-lead" to fetch non lead chats
x-bot-token*
String
API Token