replace :api_key with :api_token