API endpoint provided by plugin

Hi,
I just started looking into Bubble and love it so far. I am currently sketching out a possible architecture for an app and was wondering whether a plugin could encapsulate both API calls and endpoints. I got the API calls in a plugin figured out but am missing to see a way to define an endpoint in my plugin.

Use case: send (API call to Twilio) and receive (Twilio calls a web hook) of a text, I’d like to provide this functionality entirely as a plugin. It looks like the offered Twilio plugins only implement API calls too.

Based on a) Bubble not offering it and b) some plugins not implementing it, is my approach a bad design choice, if so why? :wink:

thx
O.