Add join API handler