I would highly recommend following this learning path, it will teach you what you need to know:
https://academy.mendix.com/link/paths/133/Design-and-Publish-a-REST-API
APIs are very commonly used in Mendix, so they're a core skill you will need on virtually any project.