Answers with X
Use the Answers management APIs to create and manage chatbots and chatbot templates. These APIs support all the CPaaS X features.
Each chatbot has a specific CPaaS X identity (application and entity). A chatbot could have one of the following:
- Chatbot is associated with an application and an entity: The chatbot is identified by a unique combination of application and entity.
- Chatbot is associated only with an application: The chatbot is identified by its applicationId.
Each chatbot sender can have only one application and entity assigned to it.
If you use Answers with X, Infobip recommends that you do not combine it with the Infobip web interface.
If you do not use Answers with X, the traffic that is labelled by Application and Entity is not affected.
The resources that are created by a chatbot cannot be accessed by other chatbots.
How to use Answers with X
Integrate Answers into your platform by using the Embeddable customer engagement solution through iFrame. To do so, use the API key that is linked to a defined application and entity.
Access permissions
The main Infobip account has an API key without CPaaS X parameters.
The following table shows the read/write access for the main account.
Permission | Details |
---|---|
Activate and deactivate chatbot | - Each CPaaS X identity can activate one chatbot per sender - Main account can activate and deactivate chatbots that are created with CPaaS X identity. - Main account can activate and deactivate chatbots that are created through the main account. |
Process inbound messages | The message from an end user is matched with an active chatbot based on the accountId, sender, applicationId, and entityId. Exact match mechanism is used. |
Manage chatbot resources | The Main account can access and manage all chatbot resources for all applications and entities that are associated with this account. |