The API takes a GEDCOM or, I'm assuming, a FamilyScript document and returns a link to the family tree that Family Echo creates from that document. Is that what you're looking for?
Here's a link to a simple python example that uses the API