Get token from REST