Non-tabular API calls in a JSONAPI

Check out this thread: Representing Non-CRUD Actions in JSON API Payloads

I believe that my question was similar to yours and @A-Helberg did a great job explaining.