The purpose of this documentation is to present the API call configuration bubble, and to help you set up external API calls to Ideta's app.
In general, we recommend that you always test your API calls before deploying them on a channel, in order to ensure the validity of the settings.
You can test our APIs in Postman. We have a list with the request and pre-filled parameters and the body
It is possible to perform various actions via the bot using our API bubble:
First you need to get your secret key and your bot ID. The key is unique and allows you to remotely access the content of your bot.
You can find your bot ID and your secret key on the settings tabs
Your bubble id can be found in the URL, after "?node="
All these options correspond to the filtering options, which you can find in the Cockpit tab. Look up at the URL to see the syntax
For example, this query gives a list of conversations that are in the channels "sandbox" & "web" and where the last message was sent between "2021-10-11" and "2021-10-14" and where the data "first_name" exist:
https://ideta.io/messaging/your_bot_id?channel=sandbox,web&startDate=2021-10-11&endDate=2021-10-14&comparisons=first_name,!
You have to send a POST request to the url with the request bellow.
https://api.ideta.io/messages/extract/ {channel}
You have to send a POST request to the url with the request bellow
https://api.ideta.io/conversations/resume/{channel}
You can also delete the conversation and restart it.
You have to send a POST request to the url with the request bellow
https://api.ideta.io/conversations/reset {channel}
If you choose to delete the data and/or the messages of the conversation, you need to " true " or " false " for "deleteData" and "deleteMessages".
You can add or modify bot data.
You have to send a POST request to the url with the request below
https://api.ideta.io/data/store/{channel}.
You can modify the value of a data.
If we indicate "true" in "bypassChecks", the data will be created if it does not exist
You have to send a POST request to the url with the request below
https://api.ideta.io/conversations/send-message/{channel}
You have to send a POST request to the url with the request below
https://api.ideta.io/conversations/send-message/{channel}