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 -> jp@gc - Dummy Sampler
There you can pass your data as, e.g.
{"login":"${login}","password","$(password)"}
in the request data.