Ability send/receive messages (via REST API) to Bo...
# 👀feature-requests
s
I have a micro-service that today calls the Rest API provided by Botpress v12 to send messages to it. I'm planning to migrate to Botpress Cloud but I haven't found how to make this communication to the Cloud. How would it be? Today in v12 I follow this model: curl --location --request POST 'http://www.botservice.com.br/api/v1/bots/bot-test/converse/user-551135555333' \ --header 'Content-Type: application/json' \ --data-raw '{ "text": "Hy", "type": "text" }' How would it be in the Cloud? I see this point as very important because it frees micro-services to independently send messages to Botpress. Thus increasing the possibilities of integration with other micro-services.
a
I believe this would be the closest api endpoint https://botpress.com/docs/api/#message-create-message It's my understanding that there are issues with this endpoint, and we are working hard to resolve them, so it might not work today. Out of curiosity, are you planning to hook Botpress up with a major chat platform?
s
Yes @acceptable-gold-88171. We are doing some analysis to see if Botpress meets all needs.
r
@stocky-lamp-63317 I built a remake of the converse API using the Boptress integrations & API that will ship in the next couple fo days, stay tuned!
@colossal-egg-20510 for visibility
s
Great news @rich-battery-69172.
m
After reading the current API documentation, I still have many questions. For example, I'm unsure about how to access the API endpoints and the specific procedures to follow when making calls to different interfaces. It would be greatly appreciated if you could provide a tutorial on how to use the API or some comprehensive sample code. Thank you.
r
@most-dog-73336 i believe we are open-sourcing all of our integrations in the next day or two on GitHub, which use our API !
336 Views