If a build completes in one project is there a way to trigger build on another project

I think thats the correct way (i.e. using CircleCI API) to trigger a build. Thank you.