Execute external actions after creating subscriber

Hi there… I´m trying to send a Service Order to a Service Order Manager after creating a Subscriber. What I´ve seen is that internally /billapi/subscribers/create in called.

Can help sharing which PHP should be modified to call an external bash with the same information that is stored in billing.subscribers mongo database?

Same as for /billapi/subscribers/delete

Thanks a lot!