add activities api