api to receive confirmation token.