agregado endpoint get a token