basic api with tokens