Add API for Token resource.