Post and Retrieve URL Through ELGG API

Hello everyone,

Is it possible to create bookmarks and article posts through the ELGG API? If so how do I do so and also retrieve the URL of said post? 

Thank you in advance for your help :-)