expose create activity api, and make call from client