Status code 400: An error occurred processing your request (missing API key)

Hello everyone! Have faced an issue for automation that appeared recently - runTest seems to be missing an API key even though it is added during new WebPageTest object creation. API key is legitimate and should be working. Were there any recent changes that might have caused this issue to start appearing? Please let me know if anyone has any suggestions.

Hello There,

There has been a recent changes to our API key requirement, which may impact the way you interact with our services. Effective immediately, we have made updates to the way API keys are requested and utilized.
API keys must now be included in the X-WPT-API-KEY header of the request.

Here is an example of how to structure your API request with the updated requirements:

curl -X GET -i GET 'https://www.webpagetest.org/runtest.php?url=www.example.com" -H “Accept: application/json, text/plain, /” -H “X-WPT-API-KEY: your-api-key-here” -H “Content-Type: application/json”

Could you please try this out and let me know if this resolves your issue.

Regards
Atib