title: Is it possible to add a new API endpoint that uses WooCommerce's authorization?
body: <p>I need to add an API endpoint in my WordPress plugin that will write to the database, etc. I want it to be triggered by a remote system that will call this new API.</p>
  <p>However, I'd like to use the built-in WooCommerce REST authentication, the auth set up here:</p>
  <p><a href="https://i.stack.imgur.com/oDb3s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oDb3s.png" alt="enter image description here" /></a></p>
  <p>(And no, those credentials don't work, anymore).</p>
  <p>Is there a way to do this? To add a custom HTTP endpoint that will use the auth from WooCommerce and then run some arbitrary code that I want to run?</p>
  <p>Or is there a way to add a hook on an existing WooCommerce API endpoint to run before that endpoint executes? I just need a way to use the existing WooCommerce REST API auth to trigger some updates I need to run in my plugin.</p>