JMeter is more about generating GET and POST requests.
So, ideally you can generate GET and POST requests for your API using JMeter.
To pass test data to your requests, you can
Thread Group -> Right Click -> Add -> Config Element -> User Defined Variables
Enter your excel file there.
In JMeter, you can add a controller and a dummy sampler,
While Controller -> Add -> Sampler -> [email protected]
- Dummy Sampler
There you can pass your data as, e.g.
in the request data.