InquireAI / inquire

Inquire is a generalized chatbot ready to handle anything you throw at it.
https://inquire.run
MIT License
3 stars 0 forks source link

api routes exposed to bot #15

Closed ethan-stone closed 1 year ago

ethan-stone commented 1 year ago

This adds the following api routes for the bot

Method Path Description
POST /api/v1/connections Create a new connection with type, the id of the user on the connection, optionally an id of an inquire user
GET /api/v1/connections/type/{type}/users/{userId} {type} can be TELEGRAM and {userId} is the id of the user on the connection. For TELEGRAM it would be the users telegram user id