create api stub