API endpoint to create act.