API can use token if provided