Changes token to apiKey