You will have to use some intermediate layer for this as I don't see Rest API supported as source in here -
https://learn.microsoft.com/en-us/azure/data-factory/data-flow-source
Probably you can load data using Pipeline Copy activity from API to data lake and then in Data flow Data lake to Azure SQL after transformation
----------
Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav