Can I model APIs? or simulate APIs?

Hi, I would like to know if there is any way to model an API, in order to simulate interactions for further API service implementation. My objective is to mockup everything previously move it to developers.

Regards