Hi Mohammed,
Assuming you want to consume rest API in your application please refer to the documentation here.
You’ll need to create a JSON structure of the API in Mendix and create an import mapping and call the rest service and process the data as required.
Hope this helps!