Creates SP invocation API.