pass it as params in axios instance const axiosInstance = axios.create({ baseURL: baseURL, timeout: 5000, params: { api_key : "xyz" }, });